/* question asking us what PORT number we are listening to.
Replies with PORT with "IPv[num]/[port]" */
sprintf((char *)buffer, "IPv%d/%d\n", use_ipv6?6:4, port);
- r = strlen((char *)buffer);
+ r = (int)strlen((char *)buffer);
sprintf(data, "PORT\n%04x\n", r);
write(fileno(stdout), data, 10);
write(fileno(stdout), buffer, r);
return FALSE;
logmsg("> %d bytes data, server => client", len);
- lograw(buffer, len);
+ lograw(buffer, (int)len);
if(*mode == PASSIVE_LISTEN) {
logmsg("*** We are disconnected!");