* net.cc (in6addr_any, in6addr_loopback): Add appropriate number of braces
around initializer. (dup_ent): Try harder to coerce the first argument to deal with more stringent compiler. (get_2k_ifs): Remove extraneous typedef. (get_2k_ifs): Reorganize expression to avoid a compiler warning. (get_xp_ifs): Ditto. (get_nt_ifs): Ditto.
This commit is contained in:
@@ -606,7 +606,7 @@ inline char *
|
||||
conv_fstab_spaces (char *field)
|
||||
{
|
||||
register char *sp = field;
|
||||
while (sp = strstr (sp, "\\040"))
|
||||
while ((sp = strstr (sp, "\\040")) != NULL)
|
||||
{
|
||||
*sp++ = ' ';
|
||||
memmove (sp, sp + 3, strlen (sp + 3) + 1);
|
||||
|
Reference in New Issue
Block a user