summaryrefslogtreecommitdiff
path: root/svdrp.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-08-12 09:12:34 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-08-12 09:12:34 +0200
commit9e6b12aa20e257ed0ef232c54e0f4eb7fe779a15 (patch)
tree76c02f072cfac8f090cc55393186b5054a5ec00e /svdrp.c
parentf4138799367f1cf9ff1562567503ede6f9470057 (diff)
downloadvdr-9e6b12aa20e257ed0ef232c54e0f4eb7fe779a15.tar.gz
vdr-9e6b12aa20e257ed0ef232c54e0f4eb7fe779a15.tar.bz2
Fixed converting the port number in the "connect from..." log message of SVDRP
Diffstat (limited to 'svdrp.c')
-rw-r--r--svdrp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/svdrp.c b/svdrp.c
index b2317527..8ca8afd1 100644
--- a/svdrp.c
+++ b/svdrp.c
@@ -10,7 +10,7 @@
* and interact with the Video Disk Recorder - or write a full featured
* graphical interface that sits on top of an SVDRP connection.
*
- * $Id: svdrp.c 1.99 2006/08/06 09:17:58 kls Exp $
+ * $Id: svdrp.c 1.100 2006/08/12 09:09:55 kls Exp $
*/
#include "svdrp.h"
@@ -120,7 +120,7 @@ int cSocket::Accept(void)
close(newsock);
newsock = -1;
}
- isyslog("connect from %s, port %hd - %s", inet_ntoa(clientname.sin_addr), ntohs(clientname.sin_port), accepted ? "accepted" : "DENIED");
+ isyslog("connect from %s, port %hu - %s", inet_ntoa(clientname.sin_addr), ntohs(clientname.sin_port), accepted ? "accepted" : "DENIED");
}
else if (errno != EINTR && errno != EAGAIN)
LOG_ERROR;