if (buf[0] == '4') {
snprintf(this_name, sizeof this_name, "text_%s", script_names[i]);
striplt((char*)BSTR(this_name)); /* TODO: get rid of typecast*/
- serv_printf("%s", bstr(this_name));
+ serv_printf("%s", BSTR(this_name));
serv_puts("000");
}
}
wprintf("<div id=\"content\" class=\"service\">\n");
- if (message != NULL) wprintf(message);
+ if (message != NULL) {
+ wprintf("%s", message);
+ }
wprintf("<table border=0 cellspacing=10><tr valign=top><td>\n");