From 2bb325135433521694b0a387a60225d7727a980e Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 11 Jun 2006 18:00:00 +0200 Subject: Version 1.4.1 - Changed the log messages when grabbing an image from 'isyslog()' to 'dsyslog()' so that they can be suppressed in normal operation mode to avoid clogging the log file in case this function is used frequently (suggested by Helmut Auer). --- svdrp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svdrp.c') diff --git a/svdrp.c b/svdrp.c index 0f6060c..34f283f 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.96 2006/06/03 09:17:17 kls Exp $ + * $Id: svdrp.c 1.97 2006/06/11 09:04:36 kls Exp $ */ #include "svdrp.h" @@ -779,7 +779,7 @@ void cSVDRP::CmdGRAB(const char *Option) int fd = open(FileName, O_WRONLY | O_CREAT | O_NOFOLLOW | O_TRUNC, DEFFILEMODE); if (fd >= 0) { if (safe_write(fd, Image, ImageSize) == ImageSize) { - isyslog("grabbed image to %s", FileName); + dsyslog("grabbed image to %s", FileName); Reply(250, "Grabbed image %s", Option); } else { -- cgit v1.2.3