Fix typo.
authorGuy Harris <guy@alum.mit.edu>
Tue, 19 May 2015 01:43:14 +0000 (18:43 -0700)
committerGuy Harris <guy@alum.mit.edu>
Tue, 19 May 2015 01:46:42 +0000 (01:46 +0000)
Change-Id: Idde2f4771b42714561f65f712e680f9609aeaa57
Reviewed-on: https://code.wireshark.org/review/8535
Reviewed-by: Guy Harris <guy@alum.mit.edu>
capchild/capture_sync.c

index c0308dad567932a76b0e0b49d962a48e336b755e..6c0ce10a75ee8e0ed01b465d906b80a58f5e1e29 100644 (file)
@@ -647,7 +647,7 @@ sync_pipe_start(capture_options *capture_opts, capture_session *cap_session, voi
     }
 
     /* call dumpcap */
-    if(!CreateProcess(utf8_to_16(argv[0]), utf_8to16(args->str), NULL, NULL, TRUE,
+    if(!CreateProcess(utf_8to16(argv[0]), utf_8to16(args->str), NULL, NULL, TRUE,
                       CREATE_NEW_CONSOLE, NULL, NULL, &si, &pi)) {
         report_failure("Couldn't run %s in child process: %s",
                        args->str, win32strerror(GetLastError()));
@@ -861,7 +861,7 @@ sync_pipe_open_command(char** argv, int *data_read_fd,
     }
 
     /* call dumpcap */
-    if(!CreateProcess(utf8_to_16(argv[0]), utf_8to16(args->str), NULL, NULL, TRUE,
+    if(!CreateProcess(utf_8to16(argv[0]), utf_8to16(args->str), NULL, NULL, TRUE,
                       CREATE_NEW_CONSOLE, NULL, NULL, &si, &pi)) {
         *msg = g_strdup_printf("Couldn't run %s in child process: %s",
                                args->str, win32strerror(GetLastError()));