# HG changeset patch
# User Olaf Wintermann <olaf.wintermann@gmail.com>
# Date 1667385956 -3600
# Node ID e9a5dd08258d9a6f251108cab193f8697bc585e1
# Parent  f4ef952ad98baa834c9709a73fc3192545d6b108
fix return value in util_exec_command on windows

diff -r f4ef952ad98b -r e9a5dd08258d libidav/utils.c
--- 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];