va_end(params);
}
-void lognotice(const char *err, ...)
+void loginfo(const char *err, ...)
{
va_list params;
if (!verbose)
static int upload(char *dir, int dirlen)
{
- lognotice("Request for '%s'", dir);
+ loginfo("Request for '%s'", dir);
if (chdir(dir) < 0) {
logerror("Cannot chdir('%s'): %s", dir, strerror(errno));
return -1;
port = sin6_addr->sin6_port;
}
- lognotice("Connection from %s:%d", addrbuf, port);
+ loginfo("Connection from %s:%d", addrbuf, port);
exit(execute());
}