mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
snum is used to store the result of the find_service() call which returns a signed int, with -1 being an error. with an uint32_t the error check (< 0) is always false. Signed-off-by: Aurelien Aptel <aaptel@suse.com> Reviewed-by: Volker Lendecke <Volker.Lendecke@SerNet.DE> Reviewed-by: Jeremy Allison <jra@samba.org>