git-svn: trunk@5073
Tomasz Kojm authored on 2009/06/11 01:51:03... | ... |
@@ -110,7 +110,7 @@ int notify(const char *cfgfile) |
110 | 110 |
hints.ai_family = AF_INET; |
111 | 111 |
#endif |
112 | 112 |
hints.ai_socktype = SOCK_STREAM; |
113 |
- snprintf(port, 5, "%d", (unsigned int) opt->numarg); |
|
113 |
+ snprintf(port, 5, "%u", (unsigned int) opt->numarg); |
|
114 | 114 |
port[5] = 0; |
115 | 115 |
|
116 | 116 |
if((opt = optget(opts, "TCPAddr"))->enabled) |