summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-03-23 17:53:05 +0100
committerVolker Lendecke <vl@samba.org>2008-03-23 18:28:23 +0100
commit7af3ebdac05fbc99d03f89a21868311cc247d8a2 (patch)
tree3bb4ba1a1e823dabed6e9616d921b724cf971c1b /source3/utils
parent20caa9bbe64e231c37f11e6781def3410338a7f2 (diff)
downloadsamba-7af3ebdac05fbc99d03f89a21868311cc247d8a2.tar.gz
samba-7af3ebdac05fbc99d03f89a21868311cc247d8a2.tar.bz2
samba-7af3ebdac05fbc99d03f89a21868311cc247d8a2.zip
Fix Coverity ID 480
(This used to be commit 45677e8694f0e383baa65712faec6a565ec0ce5c)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_ads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c
index e9750db83a..28ae7d7ced 100644
--- a/source3/utils/net_ads.c
+++ b/source3/utils/net_ads.c
@@ -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;
}