Magellan Linux

Diff of /trunk/grubby/grubby.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1749 by niro, Sat Feb 18 01:07:15 2012 UTC revision 1750 by niro, Sat Feb 18 01:09:51 2012 UTC
# Line 1464  static int endswith(const char *s, char Line 1464  static int endswith(const char *s, char
1464  {  {
1465   int slen;   int slen;
1466    
1467   if (!s && !s[0])   if (!s || !s[0])
1468   return 0;   return 0;
1469   slen = strlen(s) - 1;   slen = strlen(s) - 1;
1470    

Legend:
Removed from v.1749  
changed lines
  Added in v.1750