summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-03-09 16:41:44 -0500
committerSimo Sorce <idra@samba.org>2010-03-09 16:42:05 -0500
commit8fa81e99093bccf40c4ddea162896ccc020da9db (patch)
treefa0f4824129a05b9fa658fed93258f4b67eec45d /source3/lib
parent9adbba6fb9404bb7f6d88cf58e7d5ce06fe73b0e (diff)
downloadsamba-8fa81e99093bccf40c4ddea162896ccc020da9db.tar.gz
samba-8fa81e99093bccf40c4ddea162896ccc020da9db.tar.bz2
samba-8fa81e99093bccf40c4ddea162896ccc020da9db.zip
Fix typo
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/tldap.c4
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;
}