projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9bb2db
)
* print the ip-address too if we fail to bind a server port.
author
Wilfried Göesgens
<willi@citadel.org>
Thu, 7 Jun 2007 20:27:31 +0000
(20:27 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Thu, 7 Jun 2007 20:27:31 +0000
(20:27 +0000)
citadel/serv_extensions.c
patch
|
blob
|
history
diff --git
a/citadel/serv_extensions.c
b/citadel/serv_extensions.c
index 64b425c6b1bd4438ca1068136cf2d68a46c86b70..c3ec9fd07f2709ef8d3a3442bf065b29e90ddc29 100644
(file)
--- a/
citadel/serv_extensions.c
+++ b/
citadel/serv_extensions.c
@@
-754,7
+754,8
@@
void CtdlRegisterServiceHook(int tcp_port,
tcp_port,
config.c_maxsessions,
&error);
- snprintf(message, SIZ, "TCP port %d: ", tcp_port);
+ snprintf(message, SIZ, "TCP port %s:%d: ",
+ config.c_ip_addr, tcp_port);
}
if (newfcn->msock > 0) {