diff options
author | Jeremy Allison <jra@samba.org> | 2007-03-19 22:45:35 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:18:43 -0500 |
commit | 7ccf45684a1f83d7d48a4227aa56c53081d68283 (patch) | |
tree | 53132d4c8691a556ca2cfcdca155c974467d23fa /source3/lib | |
parent | 496dbdf4350ffc5f53c9f8f734d2c29b312ff11b (diff) | |
download | samba-7ccf45684a1f83d7d48a4227aa56c53081d68283.tar.gz samba-7ccf45684a1f83d7d48a4227aa56c53081d68283.tar.bz2 samba-7ccf45684a1f83d7d48a4227aa56c53081d68283.zip |
r21880: Make client and server calls into encryption code symetrical,
depending on encryption context pointer.
Jeremy.
(This used to be commit d3f3ced6c8a03d971143baf878158d671dfcbc3b)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util_sock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c index 296405edd3..755ad39261 100644 --- a/source3/lib/util_sock.c +++ b/source3/lib/util_sock.c @@ -789,13 +789,13 @@ BOOL send_smb(int fd, char *buffer) if (ret <= 0) { DEBUG(0,("Error writing %d bytes to client. %d. (%s)\n", (int)len,(int)ret, strerror(errno) )); - srv_free_buffer(buf_out); + srv_free_enc_buffer(buf_out); return False; } nwritten += ret; } - srv_free_buffer(buf_out); + srv_free_enc_buffer(buf_out); return True; } |