From patchwork Sun Mar 12 14:39:23 2006 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Darren Salt X-Patchwork-Id: 12224 Received: from anchor-post-31.mail.demon.net ([194.217.242.89]) by www.linuxtv.org with esmtp (Exim 4.50) id 1FIRlv-0000S3-I3 for vdr@linuxtv.org; Sun, 12 Mar 2006 15:42:15 +0100 Received: from youmustbejoking.demon.co.uk ([212.228.127.8] helo=pentagram.youmustbejoking.demon.co.uk) by anchor-post-31.mail.demon.net with esmtp (Exim 4.42) id 1FIRlq-0001PD-5I for vdr@linuxtv.org; Sun, 12 Mar 2006 14:42:15 +0000 Received: from [192.168.0.2] (helo=riscpc) by pentagram.youmustbejoking.demon.co.uk with esmtp (Exim 4.50) id 1FIRlp-0005S7-6S for vdr@linuxtv.org; Sun, 12 Mar 2006 14:42:09 +0000 Date: Sun, 12 Mar 2006 14:39:23 +0000 From: Darren Salt To: vdr@linuxtv.org Message-ID: <4E067D2EA1%linux@youmustbejoking.demon.co.uk> User-Agent: Messenger-Pro/4.09b1 (MsgServe/3.24b1) (RISC-OS/4.02) POPstar/2.06+cvs X-Editor: Zap 1.47 (17 Oct 2005) [TEST], ZapEmail 0.28.3 (25 Mar 2005) (32) X-SDate: Sun, 4576 Sep 1993 14:39:23 +0000 X-Message-Flag: Outlook Express is broken. Upgrade to mail(1). MIME-Version: 1.0 X-SA-Exim-Connect-IP: 192.168.0.2 X-SA-Exim-Mail-From: linux@youmustbejoking.demon.co.uk X-SA-Exim-Scanned: No (on pentagram.youmustbejoking.demon.co.uk); SAEximRunCond expanded to false Subject: [vdr] [PATCH] remote: allow for no devices & missing devices; constness X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: VDR Mailing List List-Id: VDR Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Mar 2006 14:42:15 -0000 Status: O X-Status: X-Keywords: X-UID: 8377 Patches attached. diff -urNad vdr-plugin-remote-0.3.4~/remote.c vdr-plugin-remote-0.3.4/remote.c --- vdr-plugin-remote-0.3.4~/remote.c 2006-01-09 20:04:36.000000000 +0000 +++ vdr-plugin-remote-0.3.4/remote.c 2006-01-09 20:04:36.670699823 +0000 @@ -786,9 +786,9 @@ } // for if (!ok) - esyslog("%s: fatal error - unable to open input device", Name()); + esyslog("%s: warning: unable to open input device", Name()); - return ok; + return true; }