Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix tabs in simple_bridge_util and make vim header

  • Loading branch information...
commit 44c344d1040603411390848366dc13e8e4ee9b5f 1 parent b464357
@choptastic choptastic authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/simple_bridge_util.erl
View
6 src/simple_bridge_util.erl
@@ -1,4 +1,4 @@
-
+% vim: ts=4 sw=4 et
-module(simple_bridge_util).
-export([atomize_header/1]).
@@ -6,7 +6,7 @@
%% converts a Header to a lower-case, underscored version
%% ie. "X-Forwarded-For" -> x_forwarded_for
atomize_header(Header) when is_binary(Header) ->
- atomize_header(binary_to_list(Header));
+ atomize_header(binary_to_list(Header));
atomize_header(Header) when is_atom(Header) ->
atomize_header(atom_to_list(Header));
atomize_header(Header) when is_list(Header) ->
@@ -20,3 +20,5 @@ atomize_header(Header) when is_list(Header) ->
end
end,
list_to_atom(lists:map(LowerUnderscore,Header)).
+
+
Please sign in to comment.
Something went wrong with that request. Please try again.