fix copy fds return value

This commit is contained in:
Hongze Cheng 2021-01-24 17:28:37 +08:00
parent a17cfee7a1
commit 2b3c8517ec
1 changed files with 1 additions and 1 deletions

View File

@ -480,5 +480,5 @@ int32_t taosCopyFds(SOCKET sfd, SOCKET dfd, int64_t len) {
leftLen -= readLen;
}
return 0;
return len;
}