1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed greeting message

This commit is contained in:
Klaus Schmidinger 2000-08-26 12:51:51 +02:00
parent 3846ba7338
commit d2d6fb2568

View File

@ -10,7 +10,7 @@
* and interact with the Video Disk Recorder - or write a full featured * and interact with the Video Disk Recorder - or write a full featured
* graphical interface that sits on top of an SVDRP connection. * graphical interface that sits on top of an SVDRP connection.
* *
* $Id: svdrp.c 1.4 2000/08/06 12:52:04 kls Exp $ * $Id: svdrp.c 1.5 2000/08/26 12:51:51 kls Exp $
*/ */
#define _GNU_SOURCE #define _GNU_SOURCE
@ -639,7 +639,7 @@ void cSVDRP::Process(void)
//TODO how can we get the *full* hostname? //TODO how can we get the *full* hostname?
gethostname(buffer, sizeof(buffer)); gethostname(buffer, sizeof(buffer));
time_t now = time(NULL); time_t now = time(NULL);
Reply(220, "%s SVDRP VideoDiskRecorder %s; %s", VDRVERSION, buffer, ctime(&now)); Reply(220, "%s SVDRP VideoDiskRecorder %s; %s", buffer, VDRVERSION, ctime(&now));
} }
int rbytes = readstring(filedes, buffer, sizeof(buffer) - 1); int rbytes = readstring(filedes, buffer, sizeof(buffer) - 1);
if (rbytes > 0) { if (rbytes > 0) {