mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
Fix Coverity ID 480
(This used to be commit 45677e8694f0e383baa65712faec6a565ec0ce5c)
This commit is contained in:
parent
20caa9bbe6
commit
7af3ebdac0
@ -1679,7 +1679,7 @@ static int net_ads_password(int argc, const char **argv)
|
||||
fill in the KDC's addresss */
|
||||
ads_connect(ads);
|
||||
|
||||
if (!ads || !ads->config.realm) {
|
||||
if (!ads->config.realm) {
|
||||
d_fprintf(stderr, "Didn't find the kerberos server!\n");
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user