This commit is contained in:
Daniel Stenberg 2005-05-10 11:21:57 +00:00
Родитель e010ac9706
Коммит 315a9c95d5
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

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