diff options
author | Simo Sorce <idra@samba.org> | 2010-03-09 16:41:44 -0500 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2010-03-09 16:42:05 -0500 |
commit | 8fa81e99093bccf40c4ddea162896ccc020da9db (patch) | |
tree | fa0f4824129a05b9fa658fed93258f4b67eec45d /source3 | |
parent | 9adbba6fb9404bb7f6d88cf58e7d5ce06fe73b0e (diff) | |
download | samba-8fa81e99093bccf40c4ddea162896ccc020da9db.tar.gz samba-8fa81e99093bccf40c4ddea162896ccc020da9db.tar.bz2 samba-8fa81e99093bccf40c4ddea162896ccc020da9db.zip |
Fix typo
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/tldap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/tldap.c b/source3/lib/tldap.c index 3b256c4a42..c8f3af7982 100644 --- a/source3/lib/tldap.c +++ b/source3/lib/tldap.c @@ -1080,8 +1080,8 @@ static int tldap_hex2char(const char *x) else if (h1 >= '0') c = h1 - (int)'0'; c = c << 4; if (h2 >= 'a') c += h2 - (int)'a' + 10; - else if (h1 >= 'A') c += h2 - (int)'A' + 10; - else if (h1 >= '0') c += h2 - (int)'0'; + else if (h2 >= 'A') c += h2 - (int)'A' + 10; + else if (h2 >= '0') c += h2 - (int)'0'; return c; } |