]> andersk Git - moira.git/blobdiff - clients/mailmaint/mailmaint.c
don't print prompt message over data line
[moira.git] / clients / mailmaint / mailmaint.c
index 1f3b633b547bd620c6cf7ab327ad3475ee1e5ccd..2a64c8a2a86803f9172e6538da4c9dc1d4907585 100644 (file)
@@ -3,6 +3,10 @@
  *     $Header$
  */
 
+/*  (c) Copyright 1988 by the Massachusetts Institute of Technology. */
+/*  For copying and distribution information, please see the file */
+/*  <mit-copyright.h>. */
+
 #ifndef lint
 static char rcsid_mailmaint_c[] = "$Header$";
 #endif lint
@@ -22,7 +26,9 @@ static char rcsid_mailmaint_c[] = "$Header$";
 #include <varargs.h>
 #include <com_err.h>
 #include <ctype.h>
-#include "mit-copyright.h"
+#include <sms.h>
+#include <sms_app.h>
+#include <mit-copyright.h>
 
 #define STARTCOL 0
 #define STARTROW 3
@@ -124,7 +130,7 @@ main(argc, argv)
 
     printf("Connecting to database for %s...please hold on.\n", uname);
 
-    status = sms_connect();
+    status = sms_connect(SMS_SERVER);
     if (status) {
        (void) sprintf(buf, "\nConnection to SMS server failed");
        goto punt;
@@ -438,6 +444,7 @@ list_by_member()
        Put_message("\r\n");
        com_err(whoami, status, " in get_lists_of_member");
     }
+    currow++;
     show_text(currow, STARTCOL, "Press any Key to continue...");
     (void) getchar();
     clrwin(DISPROW);
@@ -956,15 +963,3 @@ menu_err_hook(who, code, fmt, args)
     (void) putc('\0', &_strbuf);
     Put_message(buf);
 }
-
-
-/*
- * Local Variables:
- * mode: c
- * c-indent-level: 4
- * c-continued-statement-offset: 4
- * c-brace-offset: -4
- * c-argdecl-indent: 4
- * c-label-offset: -4
- * End: 
- */
This page took 0.063235 seconds and 4 git commands to generate.