summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-03-15 08:18:29 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-03-15 08:18:29 +0000
commit02704f973347f05af5ebcb0d4a494a6102199536 (patch)
tree9829826e5606439ccc7e0932c9a7dffe183cdb0c /source3/utils
parentf1d333ea35a4fed92e2d51aafa4e758f577e5cf1 (diff)
downloadsamba-02704f973347f05af5ebcb0d4a494a6102199536.tar.gz
samba-02704f973347f05af5ebcb0d4a494a6102199536.tar.bz2
samba-02704f973347f05af5ebcb0d4a494a6102199536.zip
Minor fixes.
- signed/unsigned - quieten warning about assignment as truth value - whitespace Andrew Bartlett (This used to be commit a13ce0df4b4a776fa635a1fb804dd00d195f58d0)
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 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);