summaryrefslogtreecommitdiffstats
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
commitb6048e28ab996ba5581cfa3b50401c0f775befdd (patch)
treec4bcc7e12d4226f368e44417bdc4f1561d6d614d
parentd417b6b5cbdbb244cc683387d73a9200eef53427 (diff)
downloadsamba-b6048e28ab996ba5581cfa3b50401c0f775befdd.tar.gz
samba-b6048e28ab996ba5581cfa3b50401c0f775befdd.tar.xz
samba-b6048e28ab996ba5581cfa3b50401c0f775befdd.zip
Lets call an NTSTATUS an nt_status, not an ecode.
-rw-r--r--source/smbd/reply.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c
index ac337f17122..572ed90b324 100644
--- a/source/smbd/reply.c
+++ b/source/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) {