projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c08e524
)
daemon: default to 256 for HOST_NAME_MAX if it is not defined
author
Johannes Schindelin
<Johannes.Schindelin@gmx.de>
Thu, 28 Sep 2006 10:00:35 +0000
(12:00 +0200)
committer
Junio C Hamano
<junkio@cox.net>
Thu, 28 Sep 2006 16:14:09 +0000
(09:14 -0700)
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
daemon.c
patch
|
blob
|
history
diff --git
a/daemon.c
b/daemon.c
index 5335d212c32a82b10483b10866f361f5c5a5bc85..fc3951cf759a602d705b8d7a486294e2ab8f67ee 100644
(file)
--- a/
daemon.c
+++ b/
daemon.c
@@
-15,6
+15,10
@@
#include "exec_cmd.h"
#include "interpolate.h"
+#ifndef HOST_NAME_MAX
+#define HOST_NAME_MAX 256
+#endif
+
static int log_syslog;
static int verbose;
static int reuseaddr;