]> andersk Git - moira.git/commitdiff
don't pass server name to sms_connect()
authormar <mar>
Wed, 14 Feb 1990 11:32:14 +0000 (11:32 +0000)
committermar <mar>
Wed, 14 Feb 1990 11:32:14 +0000 (11:32 +0000)
clients/mailmaint/mailmaint.c
clients/passwd/chfn.c
clients/passwd/chpobox.c
clients/passwd/chsh.c

index f5988a09f4f02b4b5dbb5e46965b918b46cf0070..d5d769ac2fff514d7e8fdeb89f780c29bcd1812a 100644 (file)
@@ -135,7 +135,7 @@ main(argc, argv)
 
     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;
index 176a1da8358d2e9718a84b8b192554d216695a6e..dcb35c4540d2371f472004a4186a5a880f13682e 100644 (file)
@@ -127,7 +127,7 @@ chfn(uname)
 
     /* 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);
index 04639ba529e14fa56d7086ffe14f97d30ed02318..393be4970d43c6f75c22736bc98b05f8cf2d1d4b 100644 (file)
@@ -122,7 +122,7 @@ main(argc, argv)
     }
     smsarg[0] = uname;
 
-    status = sms_connect(SMS_SERVER);
+    status = sms_connect(NULL);
     if (status) {
        com_err(whoami, status, " while connecting to Moira");
        exit(1);
index e5fe0453383e232e4168f83fe52a9156d8f76eb0..7dadb2e07479f44800ce30d03d4f88e1b98ea112 100644 (file)
@@ -114,7 +114,7 @@ chsh(uname)
 
     /* 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);
This page took 0.079579 seconds and 5 git commands to generate.