am 0e90714a: am a034362b: Merge "Make server port option work on windows"

* commit '0e90714ae7fda2b84caa37ce46982d28c0801943':
  Make server port option work on windows
diff --git a/adb/adb.c b/adb/adb.c
index 1834472..c939ef0 100644
--- a/adb/adb.c
+++ b/adb/adb.c
@@ -1125,10 +1125,11 @@
 
     /* get path of current program */
     GetModuleFileName( NULL, program_path, sizeof(program_path) );
-
+    char args[64];
+    snprintf(args, sizeof(args), "adb -P %d fork-server server",  server_port);
     ret = CreateProcess(
             program_path,                              /* program path  */
-            "adb fork-server server",
+            args,
                                     /* the fork-server argument will set the
                                        debug = 2 in the child           */
             NULL,                   /* process handle is not inheritable */