mirror of https://github.com/F-Stack/f-stack.git
parent
e036d21d68
commit
3f59e4d37d
|
@ -451,7 +451,7 @@ shutdown(int sockfd, int how)
|
|||
{
|
||||
if(is_fstack_fd(sockfd)){
|
||||
sockfd = restore_fstack_fd(sockfd);
|
||||
return ff_close(sockfd);
|
||||
return ff_shutdown(sockfd, how);
|
||||
}
|
||||
|
||||
return SYSCALL(shutdown)(sockfd, how);
|
||||
|
|
Loading…
Reference in New Issue