X-Git-Url: https://git.decadent.org.uk/gitweb/?p=ap-utils.git;a=blobdiff_plain;f=src%2Fauth_mac.c;h=847d62f644067798c7a17a482a0dcaabe50f2319;hp=d59d7709bdd430e7473edce60144f0095a96a179;hb=db905ff22705494136f504425cf0c75bb94cb81c;hpb=67fc54773e1504698e80c9cb83977bde32665350 diff --git a/src/auth_mac.c b/src/auth_mac.c index d59d770..847d62f 100644 --- a/src/auth_mac.c +++ b/src/auth_mac.c @@ -22,7 +22,6 @@ #include #include #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); }