aboutsummaryrefslogtreecommitdiffstats
path: root/plugin_i2c_sensors.c
diff options
context:
space:
mode:
authorreinelt <>2004-01-27 08:13:39 +0000
committerreinelt <>2004-01-27 08:13:39 +0000
commit9d3eb063ad3acbe051d45a8a5a6b402d6fde9406 (patch)
tree24a1ae58c9190ce9d5dd762f474e9fe328021636 /plugin_i2c_sensors.c
parentcfddcb8479cdb56183b46a00c922c6ee1890d614 (diff)
downloadlcd4linux-9d3eb063ad3acbe051d45a8a5a6b402d6fde9406.tar.gz
[lcd4linux @ 2004-01-27 08:13:39 by reinelt]
ported PPP token to plugin_ppp
Diffstat (limited to '')
-rw-r--r--plugin_i2c_sensors.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugin_i2c_sensors.c b/plugin_i2c_sensors.c
index 72d856e..ee49f30 100644
--- a/plugin_i2c_sensors.c
+++ b/plugin_i2c_sensors.c
@@ -1,4 +1,4 @@
-/* $Id: plugin_i2c_sensors.c,v 1.2 2004/01/27 05:06:10 reinelt Exp $
+/* $Id: plugin_i2c_sensors.c,v 1.3 2004/01/27 08:13:39 reinelt Exp $
*
* I2C sensors plugin
*
@@ -22,6 +22,9 @@
*
*
* $Log: plugin_i2c_sensors.c,v $
+ * Revision 1.3 2004/01/27 08:13:39 reinelt
+ * ported PPP token to plugin_ppp
+ *
* Revision 1.2 2004/01/27 05:06:10 reinelt
* i2c update from Xavier
*
@@ -151,6 +154,7 @@ void my_i2c_sensors_path(void)
int done;
fd1 = opendir(base);
+ if (fd1==NULL) return;
while((dir = readdir(fd1))) {
// Skip '.' and '..'
if (strcmp(dir->d_name, "." )==0 ||