mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
Use ERROR_NT, not ERROR_DOS as Andrew Bartlett pointed out.
Jeremy.
This commit is contained in:
parent
183ce97d37
commit
723e9ee31c
@ -566,5 +566,5 @@ int reply_trans(connection_struct *conn, char *inbuf,char *outbuf, int size, int
|
||||
SAFE_FREE(params);
|
||||
SAFE_FREE(setup);
|
||||
END_PROFILE(SMBtrans);
|
||||
return ERROR_DOS(ERRDOS,ERRinvalidparam);
|
||||
return ERROR_NT(NT_STATUS_INVALID_PARAMETER);
|
||||
}
|
||||
|
@ -1990,5 +1990,5 @@ due to being in oplock break state.\n", (unsigned int)function_code ));
|
||||
SAFE_FREE(data);
|
||||
SAFE_FREE(setup);
|
||||
END_PROFILE(SMBnttrans);
|
||||
return ERROR_DOS(ERRDOS,ERRinvalidparam);
|
||||
return ERROR_NT(NT_STATUS_INVALID_PARAMETER);
|
||||
}
|
||||
|
@ -3372,5 +3372,5 @@ int reply_trans2(connection_struct *conn,
|
||||
SAFE_FREE(params);
|
||||
SAFE_FREE(data);
|
||||
END_PROFILE(SMBtrans2);
|
||||
return ERROR_DOS(ERRDOS,ERRinvalidparam);
|
||||
return ERROR_NT(NT_STATUS_INVALID_PARAMETER);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user