mirror of
https://github.com/status-im/miniupnp.git
synced 2025-02-20 09:48:26 +00:00
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);
|
||||
buf = NULL;
|
||||
}
|
||||
/* #elif __NetBSD__ */
|
||||
#elif defined(__FreeBSD__)
|
||||
const char *varname;
|
||||
struct xinpgen *xig, *exig;
|
||||
@ -366,6 +365,7 @@ static struct nlist list[] = {
|
||||
free(buf);
|
||||
buf = NULL;
|
||||
}
|
||||
/* #elif __NetBSD__ */
|
||||
#else
|
||||
/* TODO : NetBSD / Darwin (OS X) / Solaris code */
|
||||
#error "No port_in_use() implementation available for this OS"
|
||||
|
Loading…
x
Reference in New Issue
Block a user