ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/conf.C
(Generate patch)

Comparing gvpe/src/conf.C (file contents):
Revision 1.65 by root, Fri Oct 11 07:56:07 2013 UTC vs.
Revision 1.66 by root, Thu Jul 30 19:03:44 2015 UTC

236configuration_parser::parse_line (char *line) 236configuration_parser::parse_line (char *line)
237{ 237{
238 { 238 {
239 char *end = line + strlen (line); 239 char *end = line + strlen (line);
240 240
241 while (*end < ' ' && end >= line) 241 while (end >= line && *end < ' ')
242 end--; 242 end--;
243 243
244 *++end = 0; 244 *++end = 0;
245 } 245 }
246 246

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines