From 4af4f9434259a369bdfaafbe75aa41163f0296c4 Mon Sep 17 00:00:00 2001 From: reinelt Date: Sun, 11 Feb 2001 23:34:07 +0000 Subject: [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 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@76 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- processor.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'processor.c') 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 + * * 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)); -- cgit v1.2.3