1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

Fix another segfault.

Michael
This commit is contained in:
Michael Adam 2007-12-18 01:32:02 +01:00
parent 10a8cf19d6
commit a5d2a6fc40

View File

@ -691,7 +691,9 @@ BOOL get_trust_pw_clear(const char *domain, char **ret_pwd,
return False;
}
*channel = SEC_CHAN_DOMAIN;
if (channel != NULL) {
*channel = SEC_CHAN_DOMAIN;
}
if (account_name != NULL) {
*account_name = lp_workgroup();