From f5ad8fc5d7679433faf6a7465b5cfd54a7c10f8b Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 13 Aug 2006 18:00:00 +0200 Subject: =?UTF-8?q?Version=201.4.1-4=20-=20Fixed=20converting=20the=20port?= =?UTF-8?q?=20number=20in=20the=20"connect=20from..."=20log=20message=20of?= =?UTF-8?q?=20SVDRP=20=20=20(thanks=20to=20Ville=20Skytt=C3=A4).=20-=20Mad?= =?UTF-8?q?e=20the=20cCiSession=20members=20sessionId=20and=20resourceId?= =?UTF-8?q?=20uint16=5Ft=20and=20uint32=5Ft,=20=20=20respectively,=20to=20?= =?UTF-8?q?match=20their=20types=20in=20the=20CI=20session=20data=20(thank?= =?UTF-8?q?s=20to=20Ville=20Skytt=C3=A4=20=20=20for=20reporting=20that=20t?= =?UTF-8?q?here=20are=20places=20where=20ntohs()=20is=20assigned=20to=20di?= =?UTF-8?q?fferent=20types).=20-=20Changed=20the=20way=20a=20device=20is?= =?UTF-8?q?=20selected=20for=20receiving=20in=20order=20to=20keep=20device?= =?UTF-8?q?s=20with=20=20=20CAMs=20better=20available,=20even=20if=20this?= =?UTF-8?q?=20means=20recording=20on=20the=20primary=20device=20(reported?= =?UTF-8?q?=20=20=20by=20J=C3=B6rn=20Reder;=20thanks=20to=20Anssi=20Hannul?= =?UTF-8?q?a=20for=20improving=20handling=20Transfer=20Mode=20devices=20?= =?UTF-8?q?=20=20in=20this).=20-=20No=20longer=20stopping=20removing=20emp?= =?UTF-8?q?ty=20directories=20if=20an=20error=20occurs=20(thanks=20to=20?= =?UTF-8?q?=20=20Oliver=20Endriss).=20-=20Added=20a=20log=20error=20messag?= =?UTF-8?q?e=20to=20cPlugin::ConfigDirectory()=20in=20case=20a=20plugin=20?= =?UTF-8?q?calls=20it=20=20=20from=20a=20separate=20thread=20(reported=20b?= =?UTF-8?q?y=20Udo=20Richter).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- svdrp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svdrp.c') diff --git a/svdrp.c b/svdrp.c index b231752..8ca8afd 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; -- cgit v1.2.3