remote: allow for no devices & missing devices; constness

Message ID 4E067D2EA1%linux@youmustbejoking.demon.co.uk
State New
Headers

Commit Message

Darren Salt March 12, 2006, 2:39 p.m. UTC
  Patches attached.
  

Patch

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;
 }