summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9048fe1)
raw | patch | inline | side by side (parent: 9048fe1)
author | Petr Baudis <pasky@suse.cz> | |
Sat, 24 Sep 2005 14:13:03 +0000 (16:13 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 24 Sep 2005 18:20:45 +0000 (11:20 -0700) |
The syslog code logs with severity LOG_INFO in the loginfo() function, so make
things less confusing.
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
things less confusing.
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
daemon.c | patch | blob | history |
diff --git a/daemon.c b/daemon.c
index 5547e6432e208633590dc431bf6a891055ba6bc1..fe46d3e4c67f04441ac618cb6067609ef2d47837 100644 (file)
--- a/daemon.c
+++ b/daemon.c
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());
}