Skip to content
Snippets Groups Projects
Commit bf2d751e authored by deuce's avatar deuce
Browse files

Borland C++ Builder 6 may be older than the C99 spec... variables muse be

declared before "other stuff" happens.
parent c2ade861
Branches
Tags
No related merge requests found
......@@ -175,9 +175,10 @@ BOOL xpms_add_list(struct xpms_set *xpms_set, int domain, int type,
BOOL one_good=FALSE;
for(iface=list; iface && *iface; iface++) {
host=strdup(*iface);
WORD port=default_port;
host=strdup(*iface);
host_str=host;
if(xpms_set->lprintf)
xpms_set->lprintf(LOG_INFO, "Adding %s listening socket on %s", prot, host);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment