diff options
author | allen <allen@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2000-09-22 16:04:55 +0000 |
---|---|---|
committer | allen <allen@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2000-09-22 16:04:55 +0000 |
commit | f77f79d77ea9d88225f577564b9147d5d4bc8be4 (patch) | |
tree | 93fe1e9ed15ac26423d74b0d4d464dcec4489535 /src/Sockets.c | |
parent | 28d5115f32b948320b6dbb6266ddabded4dc9d1e (diff) |
Logic for printing port number to stdout wrong way round
git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@87 1faa4e14-9dd3-4be0-9f0e-ffe519881164
Diffstat (limited to 'src/Sockets.c')
-rw-r--r-- | src/Sockets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Sockets.c b/src/Sockets.c index bce4959..da747dc 100644 --- a/src/Sockets.c +++ b/src/Sockets.c @@ -148,7 +148,7 @@ int HTTP_SetupServer(int port, int queue_size, int hunt) gethostname(hostname, 1024); - printf("Server started on http://%s:%d/\n", hostname, hunt ? port : realport); + printf("Server started on http://%s:%d/\n", hostname, hunt ? realport : port); minsock = sock; maxsock = sock; |