mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Changed version number to 0.6
This commit is contained in:
6
svdrp.c
6
svdrp.c
@@ -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.1 2000/07/23 14:55:03 kls Exp $
|
* $Id: svdrp.c 1.2 2000/07/24 16:43:51 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
@@ -369,7 +369,7 @@ void cSVDRP::CmdHelp(const char *Option)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Reply(-214, "This is VDR version 0.060"); //XXX dynamically insert version number
|
Reply(-214, "This is VDR version 0.6"); //XXX dynamically insert version number
|
||||||
Reply(-214, "Topics:");
|
Reply(-214, "Topics:");
|
||||||
const char **hp = HelpPages;
|
const char **hp = HelpPages;
|
||||||
while (*hp) {
|
while (*hp) {
|
||||||
@@ -598,7 +598,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 0.060; %s", buffer, ctime(&now));//XXX dynamically insert version number
|
Reply(220, "%s SVDRP VideoDiskRecorder 0.6; %s", buffer, ctime(&now));//XXX dynamically insert version number
|
||||||
}
|
}
|
||||||
int rbytes = readstring(filedes, buffer, sizeof(buffer) - 1);
|
int rbytes = readstring(filedes, buffer, sizeof(buffer) - 1);
|
||||||
if (rbytes > 0) {
|
if (rbytes > 0) {
|
||||||
|
Reference in New Issue
Block a user