[srvx-commits] CVS: services/src helpfile.c,1.47,1.47.2.1
Brought to you by:
entrope
|
From: Zoot <zo...@us...> - 2002-09-21 21:52:19
|
Update of /cvsroot/srvx/services/src
In directory usw-pr-cvs1:/tmp/cvs-serv5662/src
Modified Files:
Tag: rel-1_1-branch
helpfile.c
Log Message:
Backport from 1.2 a fix for 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.47
retrieving revision 1.47.2.1
diff -C2 -r1.47 -r1.47.2.1
*** helpfile.c 7 May 2002 22:53:45 -0000 1.47
--- helpfile.c 21 Sep 2002 21:52:16 -0000 1.47.2.1
***************
*** 238,241 ****
--- 238,242 ----
* the requested maximum size. But stop at line size.
*/
+ pos--;
while (*input && (*input != ' ') && (pos < MAX_LINE_SIZE)) line[pos++] = *input++;
}
|