git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9adbba6
)
Fix typo
author
Simo Sorce
<idra@samba.org>
Tue, 9 Mar 2010 21:41:44 +0000
(16:41 -0500)
committer
Simo Sorce
<idra@samba.org>
Tue, 9 Mar 2010 21:42:05 +0000
(16:42 -0500)
source3/lib/tldap.c
patch
|
blob
|
history
diff --git
a/source3/lib/tldap.c
b/source3/lib/tldap.c
index 3b256c4a426d35db3890cdd9ddb35721f6d77a95..c8f3af7982b799f4b4e3fff3ad740b9bf58eedd4 100644
(file)
--- 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 (h
1
>= 'A') c += h2 - (int)'A' + 10;
- else if (h
1
>= '0') c += h2 - (int)'0';
+ else if (h
2
>= 'A') c += h2 - (int)'A' + 10;
+ else if (h
2
>= '0') c += h2 - (int)'0';
return c;
}