http://p4web.freebsd.org/chv.cgi?CH=170446Change 170446 by mav@mav_mavbook on 2009/11/10 20:57:01
Addition to previous commit.
Affected files ...
.. //depot/projects/scottl-camlock/src/sys/cam/cam.c#13 edit
Differences ...
==== //depot/projects/scottl-camlock/src/sys/cam/cam.c#13 (text+ko) ====
@@ -165,8 +165,12 @@
str++;
str_len--;
}
- while (str_len > 0 && *str++ == ' ')
+ while (str_len > 0 && *str == ' ') {
+ str++;
str_len--;
+ }
+ if (str_len > 0 && *str == 0)
+ str_len = 0;
return (str_len);
}
_______________________________________________
p4-projects@... mailing list
http://lists.freebsd.org/mailman/listinfo/p4-projectsTo unsubscribe, send any mail to "
p4-projects-unsubscribe@..."