Author: vlendec Date: 2007-08-02 05:50:40 +0000 (Thu, 02 Aug 2007) New Revision: 24119
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24119 Log: Convert reply_exit to the new API Modified: branches/SAMBA_3_2/source/smbd/process.c branches/SAMBA_3_2/source/smbd/reply.c Changeset: Modified: branches/SAMBA_3_2/source/smbd/process.c =================================================================== --- branches/SAMBA_3_2/source/smbd/process.c 2007-08-02 01:30:03 UTC (rev 24118) +++ branches/SAMBA_3_2/source/smbd/process.c 2007-08-02 05:50:40 UTC (rev 24119) @@ -705,7 +705,7 @@ /* 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}, Modified: branches/SAMBA_3_2/source/smbd/reply.c =================================================================== --- branches/SAMBA_3_2/source/smbd/reply.c 2007-08-02 01:30:03 UTC (rev 24118) +++ branches/SAMBA_3_2/source/smbd/reply.c 2007-08-02 05:50:40 UTC (rev 24119) @@ -3462,20 +3462,18 @@ 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; } /****************************************************************************
