disable genurls if www_server is not enabled
This commit is contained in:
parent
4cc992d08e
commit
5c0214c737
@ -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));
|
||||
|
Reference in New Issue
Block a user