From: mar Date: Fri, 25 Aug 1989 12:37:21 +0000 (+0000) Subject: get the servername to use when reconnecting from the global set by main X-Git-Tag: ASRSNAP1001~84 X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/25ce6f7db20a1cf03b32457121956f8500f7d57c get the servername to use when reconnecting from the global set by main --- diff --git a/clients/moira/utils.c b/clients/moira/utils.c index bad1587e..2ef97356 100644 --- a/clients/moira/utils.c +++ b/clients/moira/utils.c @@ -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);