]> andersk Git - moira.git/commitdiff
Added a few extra initializations.
authorwesommer <wesommer>
Mon, 1 Jun 1987 04:35:04 +0000 (04:35 +0000)
committerwesommer <wesommer>
Mon, 1 Jun 1987 04:35:04 +0000 (04:35 +0000)
lib/mr_connect.c

index 25ba36eac12fbe1cf11788df9234e0199b46156e..df2a9fb67a40e8be19a2d4b94bfcd3bb083fa5c2 100644 (file)
@@ -59,7 +59,9 @@ int sms_noop()
        
        parms->sms_procno = SMS_NOOP;
        parms->sms_argc = 0;
-
+       parms->sms_argl = NULL;
+       parms->sms_argv = NULL;
+       
        if ((status = sms_do_call(parms, &reply)) || (status = reply->sms_status))
                goto punt;
        
@@ -85,7 +87,8 @@ int sms_shutdown(why)
        parms->sms_argv = (char **)malloc(sizeof(char *) * 2);
        parms->sms_argv[0] = why;
        parms->sms_argv[1] = NULL;
-
+       parms->sms_argl = NULL;
+       
        if ((status = sms_do_call(parms, &reply)) || (status = reply->sms_status))
                goto punt;
        
This page took 0.028254 seconds and 5 git commands to generate.