summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-09-23 23:07:53 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-09-23 23:07:53 +0000
commit7cb54b29dc6cb3a5a021a10f34fae6ac4f43a284 (patch)
treef76e92aea9146f11a4e2716cf5485c86970d872b
parent5993238b0ec5baa546d0214f1a26d174563fd43e (diff)
downloadsamba-7cb54b29dc6cb3a5a021a10f34fae6ac4f43a284.tar.gz
samba-7cb54b29dc6cb3a5a021a10f34fae6ac4f43a284.tar.bz2
samba-7cb54b29dc6cb3a5a021a10f34fae6ac4f43a284.zip
Lets call an NTSTATUS an nt_status, not an ecode.
(This used to be commit b6048e28ab996ba5581cfa3b50401c0f775befdd)
-rw-r--r--source3/smbd/reply.c12
1 files 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) {