summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-01-14 16:12:13 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-01-14 16:12:13 +0100
commit1de53359223140ccadd8a1a9a134f57e2f3c0468 (patch)
treec461898068eec8f0ba826345e392e29ac1cf1937
parentdea4bf298a65100d31ce8a4ec52ed9febbd00035 (diff)
downloadvdr-1de53359223140ccadd8a1a9a134f57e2f3c0468.tar.gz
vdr-1de53359223140ccadd8a1a9a134f57e2f3c0468.tar.bz2
The SVDRP command GRAB allows file names without extension again
-rw-r--r--CONTRIBUTORS2
-rw-r--r--HISTORY2
-rw-r--r--svdrp.c6
3 files changed, 5 insertions, 5 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 98203b0e..caf67781 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -213,6 +213,8 @@ Stefan Huelswitt <huels@iname.com>
is 0
for fixing canonicalizing the file name in the SVDRP command GRAB to allow full
path names
+ for suggesting that the SVDRP command GRAB should allow file names without extension
+ again
Ulrich Röder <roeder@efr-net.de>
for pointing out that there are channels that have a symbol rate higher than 27500
diff --git a/HISTORY b/HISTORY
index 7271a4d9..933ce953 100644
--- a/HISTORY
+++ b/HISTORY
@@ -4174,3 +4174,5 @@ Video Disk Recorder Revision History
channel's schedule in the cChannel data.
- Made the log messages regarding lost lock of devices "info" instead of "error"
(suggested by Andreas Brachold).
+- The SVDRP command GRAB allows file names without extension again (suggested by
+ Stefan Huelswitt).
diff --git a/svdrp.c b/svdrp.c
index a346506d..9fa61ea9 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.92 2006/01/14 14:55:52 kls Exp $
+ * $Id: svdrp.c 1.93 2006/01/14 16:08:20 kls Exp $
*/
#include "svdrp.h"
@@ -683,10 +683,6 @@ void cSVDRP::CmdGRAB(const char *Option)
}
else if (strcmp(FileName, "-") == 0)
FileName = NULL;
- else {
- Reply(501, "Missing filename extension in \"%s\"", FileName);
- return;
- }
// image quality (and obsolete type):
if ((p = strtok_r(NULL, delim, &strtok_next)) != NULL) {
if (strcasecmp(p, "JPEG") == 0 || strcasecmp(p, "PNM") == 0) {