mirror of https://github.com/F-Stack/f-stack.git
API: [BugFix] On success, `ff_sendmsg` return the number of chars sent.
This commit is contained in:
parent
575b547703
commit
8ad1f163fa
|
@ -625,6 +625,8 @@ ff_sendmsg(int s, const struct msghdr *msg, int flags)
|
|||
if (rc)
|
||||
goto kern_fail;
|
||||
|
||||
rc = curthread->td_retval[0];
|
||||
|
||||
return (rc);
|
||||
kern_fail:
|
||||
ff_os_errno(rc);
|
||||
|
|
Loading…
Reference in New Issue