]> andersk Git - moira.git/commitdiff
lint
authormar <mar>
Mon, 24 May 1993 15:17:44 +0000 (15:17 +0000)
committermar <mar>
Mon, 24 May 1993 15:17:44 +0000 (15:17 +0000)
clients/blanche/blanche.c
update/xfer_002.c

index edfb3d8d80ad9c9385c90f084e53a8a18f4d571a..c83a873962672adca4ab72455ef72090300b4bac 100644 (file)
@@ -250,7 +250,8 @@ char **argv;
                argv[2] = "*";
                mailhubs = (char **)malloc(sizeof(char *));
                mailhubs[0] = NULL;
-               status = mr_query("get_alias", 3, argv, collect, &mailhubs);
+               status = mr_query("get_alias", 3, argv, collect,
+                                  (char *)&mailhubs);
                if (status != MR_SUCCESS && status != MR_NO_MATCH) {
                    com_err(whoami, status,
                            " while reading list of MAILHUB servers");
index 3ac7482a0e84cafd5c7c368b4e9595fa6f8d75c9..411e4b4d907ae45ad72bb836d00723914fc6a277 100644 (file)
@@ -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.043954 seconds and 5 git commands to generate.