Skip to content
Snippets Groups Projects
Commit c640a14e authored by rswindell's avatar rswindell
Browse files

Fixed log prefixes in web_lputs().

parent a1966268
Branches
Tags
No related merge requests found
......@@ -628,7 +628,7 @@ static int web_lputs(char *str)
if (std_facilities)
syslog(LOG_INFO|LOG_DAEMON,"%s",str);
else
syslog(LOG_INFO,"srvc %s",str);
syslog(LOG_INFO,"web %s",str);
return(strlen(str));
}
#endif
......@@ -641,7 +641,7 @@ static int web_lputs(char *str)
,tm.tm_mon+1,tm.tm_mday
,tm.tm_hour,tm.tm_min,tm.tm_sec);
sprintf(logline,"%shttp %.*s",tstr,(int)sizeof(logline)-32,str);
sprintf(logline,"%sweb %.*s",tstr,(int)sizeof(logline)-32,str);
truncsp(logline);
lputs(logline);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment