]> andersk Git - moira.git/commitdiff
get the servername to use when reconnecting from the global set by main
authormar <mar>
Fri, 25 Aug 1989 12:37:21 +0000 (12:37 +0000)
committermar <mar>
Fri, 25 Aug 1989 12:37:21 +0000 (12:37 +0000)
clients/moira/utils.c

index bad1587eeb0a45d7d16fa142cd0c28ffa024b272..2ef9735643f1d99797c63b9d23938e959bad79e8 100644 (file)
@@ -890,12 +890,12 @@ int (*proc)();
 char *hint;
 {
     int status;
-    extern char *whoami;
+    extern char *whoami, *moira_server;
 
     status = sms_query(name, argc, argv, proc, hint);
     if (status != SMS_ABORTED && status != SMS_NOT_CONNECTED)
       return(status);
-    status = sms_connect(SMS_SERVER);
+    status = sms_connect(moira_server);
     if (status) {
        com_err(whoami, status, " while re-connecting to server");
        return(SMS_ABORTED);
This page took 0.04342 seconds and 5 git commands to generate.