]> andersk Git - moira.git/blobdiff - lib/mr_access.c
fixed include files
[moira.git] / lib / mr_access.c
index 3c4602ed95b51047bccb85a702859e8ad1cf9ff9..7fe0d3b7836494ea60ba0bd0afefae9ab80f96ed 100644 (file)
@@ -4,17 +4,15 @@
  *     $Header$
  *
  *     Copyright (C) 1987 by the Massachusetts Institute of Technology
- *
- *     $Log$
- *     Revision 1.1  1987-06-23 16:13:00  wesommer
- *     Initial revision
- *
+ *     For copying and distribution information, please see the file
+ *     <mit-copyright.h>.
  */
 
 #ifndef lint
 static char *rcsid_sms_access_c = "$Header$";
 #endif lint
 
+#include <mit-copyright.h>
 #include "sms_private.h"
 
 /*
@@ -49,12 +47,13 @@ int sms_access_internal(argc, argv)
     CHECK_CONNECTED;
 
     params = &params_st;
+    params->sms_version_no = sending_version_no;
     params->sms_procno = SMS_ACCESS;
     params->sms_argc = argc;
     params->sms_argl = NULL;
     params->sms_argv = argv;
        
-    if ((status = sms_do_call(params, &reply)))
+    if ((status = sms_do_call(params, &reply)) == 0)
        status = reply->sms_status;
 
     sms_destroy_reply(reply);
This page took 0.033965 seconds and 4 git commands to generate.