mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
More constant conversions.
This commit is contained in:
@ -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);
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user