From 8fa81e99093bccf40c4ddea162896ccc020da9db Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 9 Mar 2010 16:41:44 -0500 Subject: Fix typo --- source3/lib/tldap.c | 4 ++-- 1 file 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; } -- cgit