fix copy fds return value
This commit is contained in:
parent
a17cfee7a1
commit
2b3c8517ec
|
@ -480,5 +480,5 @@ int32_t taosCopyFds(SOCKET sfd, SOCKET dfd, int64_t len) {
|
||||||
leftLen -= readLen;
|
leftLen -= readLen;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return len;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue