X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=utils%2Fmountd%2Fmountd.c;h=9cf2a1f039853a8c78c1faa29f39cb42439efad7;hb=802e3cfc690a5b1f7d5d7ecd102dd44297b21160;hp=a9ec1c7b0ae7f91c24a2d53331a6373d3123b924;hpb=f73e7b9f69835d483cee95e6a20b6307b9d16b77;p=nfs-utils.git diff --git a/utils/mountd/mountd.c b/utils/mountd/mountd.c index a9ec1c7..9cf2a1f 100644 --- a/utils/mountd/mountd.c +++ b/utils/mountd/mountd.c @@ -6,7 +6,9 @@ * Copyright (C) 1995, 1996 Olaf Kirch */ -#include "config.h" +#ifdef HAVE_CONFIG_H +#include +#endif #include #include @@ -425,11 +427,9 @@ get_exportlist(void) xfree(c->gr_name); xfree(c); xfree (hp); - if ((c = *cp) == NULL) - break; + continue; } - else - xfree (hp); + xfree (hp); } cp = &(c->gr_next); }