summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-08-10 05:50:47 +0000
committerTim Potter <tpot@samba.org>2001-08-10 05:50:47 +0000
commit4bbd1ddb274438e00f83fffa2051d8f7d6c2b17c (patch)
treeeaa7986f9bc9891df9840a53507614b806471446 /source3
parentaf0af3d42a9a3f80af5db0efb57692fc87f81763 (diff)
downloadsamba-4bbd1ddb274438e00f83fffa2051d8f7d6c2b17c.tar.gz
samba-4bbd1ddb274438e00f83fffa2051d8f7d6c2b17c.tar.bz2
samba-4bbd1ddb274438e00f83fffa2051d8f7d6c2b17c.zip
More constant conversions.
(This used to be commit 00703d306f14a5977df75cb04ee34ae8628ed40e)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/lanman.c4
-rw-r--r--source3/smbd/trans2.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c
index fe3516ee9d..ad7e8aac86 100644
--- a/source3/smbd/lanman.c
+++ b/source3/smbd/lanman.c
@@ -883,7 +883,7 @@ static BOOL api_DosPrintQGetInfo(connection_struct *conn,
*rdata_len = 0;
*rparam_len = 6;
*rparam = REALLOC(*rparam,*rparam_len);
- SSVALS(*rparam,0,ERROR_INVALID_LEVEL);
+ SSVALS(*rparam,0,ERRunknownlevel);
SSVAL(*rparam,2,0);
SSVAL(*rparam,4,0);
return(True);
@@ -989,7 +989,7 @@ static BOOL api_DosPrintQEnum(connection_struct *conn, uint16 vuid, char* param,
*rdata_len = 0;
*rparam_len = 6;
*rparam = REALLOC(*rparam,*rparam_len);
- SSVALS(*rparam,0,ERROR_INVALID_LEVEL);
+ SSVALS(*rparam,0,ERRunknownlevel);
SSVAL(*rparam,2,0);
SSVAL(*rparam,4,0);
return(True);
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index a1e95bce3b..2c0286cf0a 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -1374,7 +1374,7 @@ static int call_trans2qfilepathinfo(connection_struct *conn,
if (total_data > 0 && IVAL(pdata,0) == total_data) {
/* uggh, EAs for OS2 */
DEBUG(4,("Rejecting EA request with total_data=%d\n",total_data));
- return(ERROR(ERRDOS,ERROR_EAS_NOT_SUPPORTED));
+ return(ERROR(ERRDOS,ERReasnotsupported));
}
memset((char *)pdata,'\0',data_size);
@@ -1813,7 +1813,7 @@ static int call_trans2setfilepathinfo(connection_struct *conn,
if (total_data > 4 && IVAL(pdata,0) == total_data) {
/* uggh, EAs for OS2 */
DEBUG(4,("Rejecting EA request with total_data=%d\n",total_data));
- return(ERROR(ERRDOS,ERROR_EAS_NOT_SUPPORTED));
+ return(ERROR(ERRDOS,ERReasnotsupported));
}
switch (info_level)