&separator[2],
&num,
&separator[3])) {
- char sep1 = separator[0];
+ const char sep1 = separator[0];
int i;
/* The four separators should be identical, or else this is an oddly
newport = num;
/* use the same IP we are already connected to */
- snprintf(newhost, NEWHOST_BUFSIZE, "%s", conn->ip_addr_str, newhost);
+ snprintf(newhost, NEWHOST_BUFSIZE, "%s", conn->ip_addr_str);
}
}
else