From 7cb54b29dc6cb3a5a021a10f34fae6ac4f43a284 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 23 Sep 2001 23:07:53 +0000 Subject: Lets call an NTSTATUS an nt_status, not an ecode. (This used to be commit b6048e28ab996ba5581cfa3b50401c0f775befdd) --- source3/smbd/reply.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index ac337f1712..572ed90b32 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -171,7 +171,7 @@ int reply_tcon(connection_struct *conn, int outsize = 0; uint16 vuid = SVAL(inbuf,smb_uid); int pwlen=0; - NTSTATUS ecode; + NTSTATUS nt_status; char *p; START_PROFILE(SMBtcon); @@ -188,11 +188,11 @@ int reply_tcon(connection_struct *conn, pstrcpy(service, p+1); } - conn = make_connection(service,password,pwlen,dev,vuid,&ecode); + conn = make_connection(service,password,pwlen,dev,vuid,&nt_status); if (!conn) { END_PROFILE(SMBtcon); - return ERROR_NT(ecode); + return ERROR_NT(nt_status); } outsize = set_message(outbuf,2,0,True); @@ -216,7 +216,7 @@ int reply_tcon_and_X(connection_struct *conn, char *inbuf,char *outbuf,int lengt fstring service; pstring password; pstring devicename; - NTSTATUS ecode; + NTSTATUS nt_status; uint16 vuid = SVAL(inbuf,smb_uid); int passlen = SVAL(inbuf,smb_vwv3); pstring path; @@ -266,11 +266,11 @@ int reply_tcon_and_X(connection_struct *conn, char *inbuf,char *outbuf,int lengt DEBUG(4,("Got device type %s\n",devicename)); - conn = make_connection(service,password,passlen,devicename,vuid,&ecode); + conn = make_connection(service,password,passlen,devicename,vuid,&nt_status); if (!conn) { END_PROFILE(SMBtconX); - return ERROR_NT(ecode); + return ERROR_NT(nt_status); } if (Protocol < PROTOCOL_NT1) { -- cgit