printf("Connecting to database for %s...please hold on.\n", uname);
- status = sms_connect(SMS_SERVER);
+ status = sms_connect(NULL);
if (status) {
(void) sprintf(buf, "\nConnection to Moira server failed");
goto punt;
/* Try each query. If we ever fail, print error message and exit. */
- status = sms_connect(SMS_SERVER);
+ status = sms_connect(NULL);
if (status) {
com_err(whoami, status, " while connecting to Moira");
exit(1);
}
smsarg[0] = uname;
- status = sms_connect(SMS_SERVER);
+ status = sms_connect(NULL);
if (status) {
com_err(whoami, status, " while connecting to Moira");
exit(1);
/* Try each query. If we ever fail, print error message and exit. */
- status = sms_connect(SMS_SERVER);
+ status = sms_connect(NULL);
if (status) {
com_err(whoami, status, " while connecting to Moira");
exit(1);