* 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:
Christopher Faylor
2008-09-11 04:58:45 +00:00
parent e3cbf1cc48
commit 81ba2b77de
3 changed files with 20 additions and 9 deletions

View File

@@ -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);