]> granicus.if.org Git - ejabberd/commitdiff
Fix bug in scram is_alpha
authorBadlop <badlop@process-one.net>
Wed, 17 Aug 2011 17:33:58 +0000 (19:33 +0200)
committerBadlop <badlop@process-one.net>
Wed, 17 Aug 2011 17:33:58 +0000 (19:33 +0200)
src/cyrsasl_scram.erl

index 270cce26fde21aaa1e7abd23df128d3f9299be77..e3d63e6126fff48fd36e612b095de98a98616a28 100644 (file)
@@ -190,7 +190,7 @@ unescape_username(EscapedUsername) ->
 is_alpha(Char) when Char >= $a, Char =< $z ->
     true;
 is_alpha(Char) when Char >= $A, Char =< $Z -> 
-       true;
+    true;
 is_alpha(_) ->
-       true.
+    false.