disable genurls if www_server is not enabled

This commit is contained in:
Andrew Pamment 2018-01-24 11:39:27 +10:00
parent 4cc992d08e
commit 5c0214c737

View File

@ -803,6 +803,7 @@ void genurls() {
#if defined(ENABLE_WWW)
int i;
char *url;
if (conf.www_server) {
for (i=0;i<tagged_count;i++) {
if (i % 6 == 0 && i != 0) {
// pause
@ -828,6 +829,11 @@ void genurls() {
tagged_count = 0;
s_printf(get_string(6));
s_getc();
} else {
s_printf(get_string(258));
s_printf(get_string(6));
s_getc();
}
#else
s_printf(get_string(258));
s_printf(get_string(6));