mirror of
https://github.com/samba-team/samba.git
synced 2025-01-03 01:18:10 +03:00
s4/lib: remove packet_full_request_u16, not used anymore
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
4d1088faea
commit
53d8744554
@ -612,15 +612,3 @@ _PUBLIC_ NTSTATUS packet_full_request_u32(void *private_data, DATA_BLOB blob, si
|
||||
}
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
_PUBLIC_ NTSTATUS packet_full_request_u16(void *private_data, DATA_BLOB blob, size_t *size)
|
||||
{
|
||||
if (blob.length < 2) {
|
||||
return STATUS_MORE_ENTRIES;
|
||||
}
|
||||
*size = 2 + RSVAL(blob.data, 0);
|
||||
if (*size > blob.length) {
|
||||
return STATUS_MORE_ENTRIES;
|
||||
}
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
@ -61,6 +61,5 @@ void packet_queue_run(struct packet_context *pc);
|
||||
*/
|
||||
NTSTATUS packet_full_request_nbt(void *private_data, DATA_BLOB blob, size_t *size);
|
||||
NTSTATUS packet_full_request_u32(void *private_data, DATA_BLOB blob, size_t *size);
|
||||
NTSTATUS packet_full_request_u16(void *private_data, DATA_BLOB blob, size_t *size);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user