libidav/utils.c

changeset 740
f4ef952ad98b
parent 737
1c75c0498520
child 741
e9a5dd08258d
--- a/libidav/utils.c	Wed Nov 02 11:34:49 2022 +0100
+++ b/libidav/utils.c	Wed Nov 02 11:39:23 2022 +0100
@@ -1124,7 +1124,7 @@
 #ifdef _WIN32
     fprintf(stderr, "util_exec_command unsupported\n");
     return NULL;
-#endif
+#else
     
     int pout[2];
     if(pipe(pout)) {
@@ -1168,6 +1168,7 @@
     close(pout[0]);
     
     return ret;
+#endif
 }
 
 char* util_hexstr(const unsigned char *data, size_t len) {

mercurial