[srvx-commits] CVS: services/src helpfile.c,1.55,1.56
Brought to you by:
entrope
|
From: Zoot <zo...@us...> - 2002-09-21 21:51:33
|
Update of /cvsroot/srvx/services/src
In directory usw-pr-cvs1:/tmp/cvs-serv5543/src
Modified Files:
helpfile.c
Log Message:
Fix a bug in the line wrapping code that prevented words larger than the line width from being sent properly.
Index: helpfile.c
===================================================================
RCS file: /cvsroot/srvx/services/src/helpfile.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -C2 -r1.55 -r1.56
*** helpfile.c 5 Sep 2002 23:22:27 -0000 1.55
--- helpfile.c 21 Sep 2002 21:51:30 -0000 1.56
***************
*** 247,250 ****
--- 247,251 ----
* the requested maximum size. But stop at line size.
*/
+ pos--;
while (*input && (*input != ' ') && (pos < MAX_LINE_SIZE)) line[pos++] = *input++;
}
|