PERFORCE change 170446 for review

View: New views
1 Messages — Rating Filter:   Alert me  

PERFORCE change 170446 for review

by Alexander Motin-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://p4web.freebsd.org/chv.cgi?CH=170446

Change 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-projects
To unsubscribe, send any mail to "p4-projects-unsubscribe@..."