fix return value in util_exec_command on windows

Wed, 02 Nov 2022 11:45:56 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Wed, 02 Nov 2022 11:45:56 +0100
changeset 741
e9a5dd08258d
parent 740
f4ef952ad98b
child 742
7e67689241fd
child 743
716f6bf04c30

fix return value in util_exec_command on windows

libidav/utils.c file | annotate | diff | comparison | revisions
--- a/libidav/utils.c	Wed Nov 02 11:39:23 2022 +0100
+++ b/libidav/utils.c	Wed Nov 02 11:45:56 2022 +0100
@@ -1123,7 +1123,7 @@
 int util_exec_command(char *command, UcxBuffer *outbuf) {
 #ifdef _WIN32
     fprintf(stderr, "util_exec_command unsupported\n");
-    return NULL;
+    return 1;
 #else
     
     int pout[2];

mercurial