get_inet_rec_type() range should be 1..8, not 1..7
authorArt Cancro <ajc@uncensored.citadel.org>
Mon, 23 May 2011 21:53:52 +0000 (17:53 -0400)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 4 Sep 2011 20:51:55 +0000 (20:51 +0000)
citadel/textclient/tuiconfig.c

index 415cd25dac6e27c286fc2c296a1948eaaa983c7c..f23b56036bc8cc39782c6ea68f022734aea2d472 100644 (file)
@@ -402,7 +402,7 @@ void get_inet_rec_type(CtdlIPC *ipc, char *buf) {
        keyopt(" <6> RBL            (domain suffix of spam hunting RBL)\n");
        keyopt(" <7> masq domains   (Domains as which users are allowed to masquerade)\n");
        keyopt(" <8> ClamAV         (Address of ClamAV clamd server)\n");
-       sel = intprompt("Which one", 1, 1, 7);
+       sel = intprompt("Which one", 1, 1, 8);
        switch(sel) {
                case 1: strcpy(buf, "localhost");
                        return;