]> andersk Git - moira.git/blobdiff - lib/mr_query.c
added server arg to sms_connect
[moira.git] / lib / mr_query.c
index 4418dbf85fcabc6990f2b58cbead9eb2f6f253ff..4f1a0f00ec50c8c4ee234f162188ec572b1bde0b 100644 (file)
@@ -4,16 +4,8 @@
  *     $Header$
  *
  *     Copyright (C) 1987 by the Massachusetts Institute of Technology
- *
- *     $Log$
- *     Revision 1.3  1987-08-02 21:49:53  wesommer
- *     Prevent recursive query call.
- *
- * Revision 1.2  87/06/16  17:48:58  wesommer
- * Clean up memory allocation, indenting.
- * 
- * Revision 1.1  87/06/04  01:29:32  wesommer
- * Initial revision
+ *     For copying and distribution information, please see the file
+ *     <mit-copyright.h>.
  * 
  */
 
@@ -21,6 +13,7 @@
 static char *rcsid_sms_query_c = "$Header$";
 #endif lint
 
+#include <mit-copyright.h>
 #include "sms_private.h"
 
 /*
@@ -72,11 +65,12 @@ int sms_query_internal(argc, argv, callproc, callarg)
     int stopcallbacks = 0;
 
     if (level) return SMS_QUERY_NOT_REENTRANT;
-    level++;
     
     CHECK_CONNECTED;
+    level++;
 
-    params = &params_st;
+    params = &params_st; 
+    params->sms_version_no = sending_version_no;
     params->sms_procno = SMS_QUERY;
     params->sms_argc = argc;
     params->sms_argl = NULL;
This page took 0.032479 seconds and 4 git commands to generate.