From 3719d4a088ec47bd9c515e99ea4bb25a61513a23 Mon Sep 17 00:00:00 2001 From: Kazuhiro Ogura Date: Fri, 31 May 2013 13:37:40 +0900 Subject: [PATCH] Fix indent --- src/erlaws_util.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/erlaws_util.erl b/src/erlaws_util.erl index e8808cb..168c45e 100644 --- a/src/erlaws_util.erl +++ b/src/erlaws_util.erl @@ -75,8 +75,8 @@ url_encode_char([X | T], Acc) when X == $-; X == $_; X == $. -> % url_encode_char(T, [$+ | Acc]); url_encode_char([X | T], Acc) -> url_encode_char(T, [$%, d2h(X bsr 4), d2h(X band 16#0f) | Acc]); - url_encode_char([], Acc) -> - Acc. +url_encode_char([], Acc) -> + Acc. d2h(N) when N<10 -> N+$0; % Commented out to strictly comply with AWS requirement -- goura