diff options
author | Frank Schmirler <vdr@schmirler.de> | 2011-11-27 11:32:16 +0100 |
---|---|---|
committer | Frank Schmirler <vdr@schmirler.de> | 2011-11-27 11:32:16 +0100 |
commit | 94aef85adc9c2922205145550ff00e59c694e36d (patch) | |
tree | 4d8d7e46e44a5f6fe0d3e8b67fc290edb403b353 /server/connection.c | |
parent | 9b91301d943cfbec5208419704cfece84267223d (diff) | |
download | vdr-plugin-streamdev-94aef85adc9c2922205145550ff00e59c694e36d.tar.gz vdr-plugin-streamdev-94aef85adc9c2922205145550ff00e59c694e36d.tar.bz2 |
Moved "closing connection" log message to overload of cTBSocket::Close() in
cServerConnection.
Diffstat (limited to 'server/connection.c')
-rw-r--r-- | server/connection.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/server/connection.c b/server/connection.c index f152f02..9b57980 100644 --- a/server/connection.c +++ b/server/connection.c @@ -237,6 +237,13 @@ bool cServerConnection::Respond(const char *Message, bool Last, ...) return true; } +bool cServerConnection::Close() +{ + if (IsOpen()) + isyslog("streamdev-server: closing %s connection to %s:%d", Protocol(), RemoteIp().c_str(), RemotePort()); + return cTBSocket::Close(); +} + #if APIVERSNUM >= 10700 static int GetClippedNumProvidedSystems(int AvailableBits, cDevice *Device) { |