From f416d13df6cfcccf9c6ede34ac7b2e11c49cc918 Mon Sep 17 00:00:00 2001 From: mar Date: Mon, 24 May 1993 15:17:44 +0000 Subject: [PATCH] lint --- clients/blanche/blanche.c | 3 ++- update/xfer_002.c | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/clients/blanche/blanche.c b/clients/blanche/blanche.c index edfb3d8d..c83a8739 100644 --- a/clients/blanche/blanche.c +++ b/clients/blanche/blanche.c @@ -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"); diff --git a/update/xfer_002.c b/update/xfer_002.c index 3ac7482a..411e4b4d 100644 --- a/update/xfer_002.c +++ b/update/xfer_002.c @@ -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); } -- 2.45.2