1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00

r24119: Convert reply_exit to the new API

This commit is contained in:
Volker Lendecke 2007-08-02 05:50:40 +00:00 committed by Gerald (Jerry) Carter
parent a7449e4ab3
commit d4d550aa2b
2 changed files with 5 additions and 7 deletions

View File

@ -705,7 +705,7 @@ static const struct smb_message_struct {
/* 0x0e */ { "SMBctemp",reply_ctemp,NULL,AS_USER },
/* 0x0f */ { "SMBmknew",reply_mknew,NULL,AS_USER},
/* 0x10 */ { "SMBcheckpath",NULL,reply_checkpath,AS_USER},
/* 0x11 */ { "SMBexit",reply_exit,NULL,DO_CHDIR},
/* 0x11 */ { "SMBexit",NULL,reply_exit,DO_CHDIR},
/* 0x12 */ { "SMBlseek",reply_lseek,NULL,AS_USER},
/* 0x13 */ { "SMBlockread",reply_lockread,NULL,AS_USER},
/* 0x14 */ { "SMBwriteunlock",reply_writeunlock,NULL,AS_USER},

View File

@ -3462,20 +3462,18 @@ int reply_flush(connection_struct *conn, char *inbuf,char *outbuf, int size, int
conn POINTER CAN BE NULL HERE !
****************************************************************************/
int reply_exit(connection_struct *conn,
char *inbuf,char *outbuf, int dum_size, int dum_buffsize)
void reply_exit(connection_struct *conn, struct smb_request *req)
{
int outsize;
START_PROFILE(SMBexit);
file_close_pid(SVAL(inbuf,smb_pid),SVAL(inbuf,smb_uid));
file_close_pid(req->smbpid, req->vuid);
outsize = set_message(inbuf,outbuf,0,0,False);
reply_outbuf(req, 0, 0);
DEBUG(3,("exit\n"));
END_PROFILE(SMBexit);
return(outsize);
return;
}
/****************************************************************************