miniupnpd/portinuse.c: minor cosmetic changes
This commit is contained in:
parent
eea9188eef
commit
1140e1bddb
|
@ -263,11 +263,10 @@ static struct nlist list[] = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(buf) {
|
if (buf) {
|
||||||
free(buf);
|
free(buf);
|
||||||
buf = NULL;
|
buf = NULL;
|
||||||
}
|
}
|
||||||
/* #elif __NetBSD__ */
|
|
||||||
#elif defined(__FreeBSD__)
|
#elif defined(__FreeBSD__)
|
||||||
const char *varname;
|
const char *varname;
|
||||||
struct xinpgen *xig, *exig;
|
struct xinpgen *xig, *exig;
|
||||||
|
@ -366,6 +365,7 @@ static struct nlist list[] = {
|
||||||
free(buf);
|
free(buf);
|
||||||
buf = NULL;
|
buf = NULL;
|
||||||
}
|
}
|
||||||
|
/* #elif __NetBSD__ */
|
||||||
#else
|
#else
|
||||||
/* TODO : NetBSD / Darwin (OS X) / Solaris code */
|
/* TODO : NetBSD / Darwin (OS X) / Solaris code */
|
||||||
#error "No port_in_use() implementation available for this OS"
|
#error "No port_in_use() implementation available for this OS"
|
||||||
|
|
Loading…
Reference in New Issue