#include "includes.h"
#include "smbd/globals.h"
+#include "memcache.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_VFS
/* VFS_RECVFILE must drain the socket
* before returning. */
req->unread_bytes = 0;
- return SMB_VFS_RECVFILE(smbd_server_fd(),
+ return SMB_VFS_RECVFILE(req->sconn->sock,
fsp,
offset,
N);