]> andersk Git - moira.git/blobdiff - update/xfer_002.c
Initial revision
[moira.git] / update / xfer_002.c
index 3ac7482a0e84cafd5c7c368b4e9595fa6f8d75c9..9aab0bb96b173011abccf075420885721b7166df 100644 (file)
@@ -16,7 +16,7 @@ static char *rcsid_xfer_002_c = "$Header$";
 #include <ctype.h>
 #include <sys/param.h>
 #include <sys/file.h>
-#include <strings.h>
+#include <string.h>
 #include <moira.h>
 
 extern CONNECTION conn;
@@ -61,7 +61,7 @@ xfer_002(str)
     if (!*str) {
     failure:
        reject_call(MR_ARGS);
-       return;
+       return(0);
     }
     file_size = atoi(str);
     while (isdigit(*str))
@@ -78,7 +78,7 @@ xfer_002(str)
     pathname = str;
     if (!have_authorization) {
        reject_call(MR_PERM);
-       return;
+       return(0);
     }
     if (done)                  /* re-initialize data */
        initialize();
@@ -93,5 +93,5 @@ xfer_002(str)
        strcat(buf, pathname);
        mr_log_info(buf);
     }
-    return;
+    return(0);
 }
This page took 0.032989 seconds and 4 git commands to generate.