mirror of
https://github.com/status-im/miniupnp.git
synced 2025-02-22 10:48:08 +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);
|
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…
x
Reference in New Issue
Block a user