Loading adb/services.c +3 −0 Original line number Diff line number Diff line Loading @@ -569,6 +569,9 @@ asocket* host_service_to_socket(const char* name, const char *serial) } else if (!strncmp(name, "any", strlen("any"))) { sinfo->transport = kTransportAny; sinfo->state = CS_DEVICE; } else if (!strncmp(name, "sideload", strlen("sideload"))) { sinfo->transport = kTransportAny; sinfo->state = CS_SIDELOAD; } else { free(sinfo); return NULL; Loading Loading
adb/services.c +3 −0 Original line number Diff line number Diff line Loading @@ -569,6 +569,9 @@ asocket* host_service_to_socket(const char* name, const char *serial) } else if (!strncmp(name, "any", strlen("any"))) { sinfo->transport = kTransportAny; sinfo->state = CS_DEVICE; } else if (!strncmp(name, "sideload", strlen("sideload"))) { sinfo->transport = kTransportAny; sinfo->state = CS_SIDELOAD; } else { free(sinfo); return NULL; Loading