]> andersk Git - moira.git/commitdiff
updated include files & error codes
authormar <mar>
Mon, 22 Aug 1988 16:21:50 +0000 (16:21 +0000)
committermar <mar>
Mon, 22 Aug 1988 16:21:50 +0000 (16:21 +0000)
update/xfer_002.c

index 209af2c6c8fd6bec3b215d28c99901e295f39bad..53120d61accd4750c010b03d23d9dc7cf6575480 100644 (file)
@@ -8,13 +8,13 @@ static char *rcsid_xfer_002_c = "$Header$";
 #endif lint
 
 #include <stdio.h>
-#include "gdb.h"
+#include <gdb.h>
 #include <ctype.h>
 #include <sys/param.h>
 #include <sys/file.h>
-#include "smsu_int.h"
-#include "kludge.h"
 #include <strings.h>
+#include <sms.h>
+#include "kludge.h"
 
 extern CONNECTION conn;
 char buf[BUFSIZ];
@@ -57,7 +57,7 @@ xfer_002(str)
        str++;
     if (!*str) {
     failure:
-       reject_call(SMSU_BAD_ARGS);
+       reject_call(SMS_ARGS);
        return;
     }
     file_size = atoi(str);
@@ -74,7 +74,7 @@ xfer_002(str)
        goto failure;
     pathname = str;
     if (!have_authorization) {
-       reject_call(SMSU_NO_AUTH);
+       reject_call(SMS_PERM);
        return;
     }
     if (done)                  /* re-initialize data */
This page took 0.050844 seconds and 5 git commands to generate.