aboutsummaryrefslogtreecommitdiffstats
path: root/plugin_kvv.c
diff options
context:
space:
mode:
authorharbaum <>2006-08-13 18:45:25 +0000
committerharbaum <>2006-08-13 18:45:25 +0000
commit8eb09e832fb1722c7e4009a6e24e87d6af4d13cc (patch)
tree962db3ef9a548de3ab873f427d16f1548b9fd530 /plugin_kvv.c
parent2e871a2380f375f81b137a659e6ffa0d8199cb83 (diff)
downloadlcd4linux-8eb09e832fb1722c7e4009a6e24e87d6af4d13cc.tar.gz
[lcd4linux @ 2006-08-13 18:45:25 by harbaum]
Little cleanup ...
Diffstat (limited to 'plugin_kvv.c')
-rw-r--r--plugin_kvv.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/plugin_kvv.c b/plugin_kvv.c
index 9db6674..ec068da 100644
--- a/plugin_kvv.c
+++ b/plugin_kvv.c
@@ -1,4 +1,4 @@
-/* $Id: plugin_kvv.c,v 1.1 2006/08/13 18:14:03 harbaum Exp $
+/* $Id: plugin_kvv.c,v 1.2 2006/08/13 18:45:25 harbaum Exp $
*
* plugin kvv (karlsruher verkehrsverbund)
*
@@ -23,6 +23,9 @@
*
*
* $Log: plugin_kvv.c,v $
+ * Revision 1.2 2006/08/13 18:45:25 harbaum
+ * Little cleanup ...
+ *
* Revision 1.1 2006/08/13 18:14:03 harbaum
* Added KVV plugin
*
@@ -576,7 +579,7 @@ static void kvv_line(RESULT * result, RESULT * arg1)
if (index < shm->entries) {
SetResult(&result, R_STRING, shm->entry[index].line);
} else
- SetResult(&result, R_STRING, "---");
+ SetResult(&result, R_STRING, "");
mutex_unlock(mutex);
}
@@ -590,7 +593,7 @@ static void kvv_station(RESULT * result, RESULT * arg1)
if (index < shm->entries)
SetResult(&result, R_STRING, shm->entry[index].station);
else
- SetResult(&result, R_STRING, "---");
+ SetResult(&result, R_STRING, "");
mutex_unlock(mutex);
}
@@ -621,7 +624,7 @@ static void kvv_time_str(RESULT * result, RESULT * arg1)
sprintf(str, "%d", shm->entry[index].time);
SetResult(&result, R_STRING, str);
} else
- SetResult(&result, R_STRING, "---");
+ SetResult(&result, R_STRING, "");
mutex_unlock(mutex);
}