summaryrefslogtreecommitdiff
path: root/source3/utils/net_ads.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/net_ads.c')
-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 ea31a92575..22b9d50ea1 100644
--- a/source3/utils/net_ads.c
+++ b/source3/utils/net_ads.c
@@ -155,7 +155,7 @@ retry:
* If the username is of the form "name@realm",
* extract the realm and convert to upper case.
*/
- if (realm = strchr(ads->auth.user_name, '@')) {
+ if ((realm = strchr(ads->auth.user_name, '@'))) {
*realm++ = '\0';
ads->auth.realm = strdup(realm);
strupper(ads->auth.realm);