aboutsummaryrefslogtreecommitdiffstats
path: root/processor.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2001-02-11 23:34:07 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2001-02-11 23:34:07 +0000
commit4af4f9434259a369bdfaafbe75aa41163f0296c4 (patch)
tree4b4df9fd5d5bafbdf82fa72d9e15251b9bdb9722 /processor.c
parentfa39c49d89bfd41fed4641e6fb31035d1beef6e3 (diff)
downloadlcd4linux-4af4f9434259a369bdfaafbe75aa41163f0296c4.tar.gz
[lcd4linux @ 2001-02-11 23:34:07 by reinelt]
fixed a small bug where the throughput of an offline ISDN connection is displayed as '----', but the online value is 5 chars long. corrected to ' ----'. thanks to Carsten Nau <info@cnau.de> git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@76 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'processor.c')
-rw-r--r--processor.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/processor.c b/processor.c
index 9a2e9ab..752c48f 100644
--- a/processor.c
+++ b/processor.c
@@ -1,4 +1,4 @@
-/* $Id: processor.c,v 1.8 2000/08/10 09:44:09 reinelt Exp $
+/* $Id: processor.c,v 1.9 2001/02/11 23:34:07 reinelt Exp $
*
* main data processing
*
@@ -20,6 +20,13 @@
*
*
* $Log: processor.c,v $
+ * Revision 1.9 2001/02/11 23:34:07 reinelt
+ *
+ *
+ * fixed a small bug where the throughput of an offline ISDN connection is displayed as '----', but the
+ * online value is 5 chars long. corrected to ' ----'.
+ * thanks to Carsten Nau <info@cnau.de>
+ *
* Revision 1.8 2000/08/10 09:44:09 reinelt
*
* new debugging scheme: error(), info(), debug()
@@ -331,7 +338,7 @@ static void print_token (int token, char **p)
if (isdn.usage)
*p+=sprintf (*p, "%5.0f", query(token));
else
- *p+=sprintf (*p, "----");
+ *p+=sprintf (*p, " ----");
break;
default:
*p+=sprintf (*p, "%5.0f", query(token));