]> andersk Git - moira.git/blobdiff - update/xfer_002.c
added palladium
[moira.git] / update / xfer_002.c
index 209af2c6c8fd6bec3b215d28c99901e295f39bad..5c325e485fe22a850dc9f17846453ac2f8411850 100644 (file)
@@ -2,19 +2,22 @@
  *     $Source$
  *     $Header$
  */
+/*  (c) Copyright 1988 by the Massachusetts Institute of Technology. */
+/*  For copying and distribution information, please see the file */
+/*  <mit-copyright.h>. */
 
 #ifndef lint
 static char *rcsid_xfer_002_c = "$Header$";
 #endif lint
 
+#include <mit-copyright.h>
 #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>
 
 extern CONNECTION conn;
 char buf[BUFSIZ];
@@ -57,7 +60,7 @@ xfer_002(str)
        str++;
     if (!*str) {
     failure:
-       reject_call(SMSU_BAD_ARGS);
+       reject_call(SMS_ARGS);
        return;
     }
     file_size = atoi(str);
@@ -74,7 +77,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.052116 seconds and 4 git commands to generate.