1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

s3: Remove smbd_server_fd() from reply_readbraw_error

This commit is contained in:
Volker Lendecke 2010-08-15 08:52:01 +02:00
parent 59645506a0
commit cc5f838319

View File

@ -2895,7 +2895,7 @@ static void reply_readbraw_error(struct smbd_server_connection *sconn)
SIVAL(header,0,0);
smbd_lock_socket(sconn);
if (write_data(smbd_server_fd(),header,4) != 4) {
if (write_data(sconn->sock,header,4) != 4) {
fail_readraw();
}
smbd_unlock_socket(sconn);