summaryrefslogtreecommitdiff
path: root/svdrp.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2008-05-02 14:22:23 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2008-05-02 14:22:23 +0200
commit4ecf7e17284e7b465bc320b297d41767930059ba (patch)
tree18c1226ee3ae6a2f2981029fc1c5ddd79eba9507 /svdrp.c
parent2af47cfb18a10720fc90a59d87645aec6b2c42d5 (diff)
downloadvdr-4ecf7e17284e7b465bc320b297d41767930059ba.tar.gz
vdr-4ecf7e17284e7b465bc320b297d41767930059ba.tar.bz2
The SVDRP signon message now indicates the character encoding in use
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 4317535a..a9d09f3c 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.109 2008/02/17 13:36:01 kls Exp $
+ * $Id: svdrp.c 2.1 2008/05/02 14:15:38 kls Exp $
*/
#include "svdrp.h"
@@ -1606,7 +1606,7 @@ bool cSVDRP::Process(void)
char buffer[BUFSIZ];
gethostname(buffer, sizeof(buffer));
time_t now = time(NULL);
- Reply(220, "%s SVDRP VideoDiskRecorder %s; %s", buffer, VDRVERSION, *TimeToString(now));
+ Reply(220, "%s SVDRP VideoDiskRecorder %s; %s; %s", buffer, VDRVERSION, *TimeToString(now), cCharSetConv::SystemCharacterTable() ? cCharSetConv::SystemCharacterTable() : "UTF-8");
}
if (NewConnection)
lastActivity = time(NULL);