]> andersk Git - moira.git/commitdiff
use sms_complete_operation() which checks alternate input as well
authormar <mar>
Wed, 6 Sep 1989 17:19:39 +0000 (17:19 +0000)
committermar <mar>
Wed, 6 Sep 1989 17:19:39 +0000 (17:19 +0000)
lib/mr_call.c
lib/mr_query.c

index b1e35c509f340422c50b2eafc6ac4c377eb53642..dde886c08bca104eba964f19aba5b1499155b171 100644 (file)
@@ -36,8 +36,8 @@ sms_do_call(params, reply)
     queue_operation(_sms_conn, CON_INPUT, _sms_recv_op);
 
     /* Block until operation done. */
-    complete_operation(_sms_send_op);
-    complete_operation(_sms_recv_op);
+    sms_complete_operation(_sms_send_op);
+    sms_complete_operation(_sms_recv_op);
     /* Look at results */
     if ((OP_STATUS(_sms_send_op) != OP_COMPLETE) ||
        (OP_STATUS(_sms_recv_op) != OP_COMPLETE)) {
@@ -46,13 +46,3 @@ sms_do_call(params, reply)
     }
     return 0;
 }
-/*
- * Local Variables:
- * mode: c
- * c-indent-level: 4
- * c-continued-statement-offset: 4
- * c-brace-offset: -4
- * c-argdecl-indent: 4
- * c-label-offset: -4
- * End:
- */
index 4f1a0f00ec50c8c4ee234f162188ec572b1bde0b..4e59282ef24d4a88a20600c1c523ec2f5bc8f7c9 100644 (file)
@@ -90,7 +90,7 @@ int sms_query_internal(argc, argv, callproc, callarg)
                             (int (*)())NULL);
        queue_operation(_sms_conn, CON_INPUT, _sms_recv_op);
 
-       complete_operation(_sms_recv_op);
+       sms_complete_operation(_sms_recv_op);
        if (OP_STATUS(_sms_recv_op) != OP_COMPLETE) {
            sms_disconnect();
            status = SMS_ABORTED;
@@ -103,13 +103,3 @@ punt_1:
     level--;
     return status;
 }
-/*
- * Local Variables:
- * mode: c
- * c-indent-level: 4
- * c-continued-statement-offset: 4
- * c-brace-offset: -4
- * c-argdecl-indent: 4
- * c-label-offset: -4
- * End:
- */
This page took 0.51464 seconds and 5 git commands to generate.