]> git.decadent.org.uk Git - ap-utils.git/blobdiff - src/auth_mac.c
Imported Upstream version 1.5~pre1
[ap-utils.git] / src / auth_mac.c
index d59d7709bdd430e7473edce60144f0095a96a179..847d62f644067798c7a17a482a0dcaabe50f2319 100644 (file)
@@ -22,7 +22,6 @@
 #include <unistd.h>
 #include <string.h>
 #include "ap-utils.h"
-#include "ap-curses.h"
 
 #define MAX_LINES LINES-6
 #define PACKET_ERROR _("AuthorizedMacTableString packet error")
@@ -78,7 +77,7 @@ void atmel_auth_mac()
        print_helperr(ERR_RET);
        goto exit;
     }
-    print_title(MAC_TITLE);
+    print_top(NULL, MAC_TITLE);
 
     auth_mac = *(varbinds[0].value);
     sprintf(message, "%s%s", MAC_AUTH, (auth_mac == 1) ? ON : OFF);
@@ -288,7 +287,7 @@ void atmel_auth_mac()
     }
     if (AuthMac)
        free(AuthMac);
-    print_title("");
+    print_top(NULL, NULL);
     clear_main(0);
 }
 
@@ -312,7 +311,7 @@ void nwn_auth_mac()
     char destroy = 6, create = 4, allow = 1;
     int i, auth_mac = 0, mac_num = 0, begin, end;
     varbind varbinds[3];
-    print_title(MAC_TITLE);
+    print_top(NULL, MAC_TITLE);
 
     mvwaddstr(main_sub, 2, 5, MAC_HEADER);
     wrefresh(main_sub);
@@ -589,6 +588,6 @@ void nwn_auth_mac()
        first = curr->next;
        free(curr);
     }
-    print_title("");
+    print_top(NULL, NULL);
     clear_main(0);
 }