Browse Source

Merge branch 'fix-typo-in-cowboy_http' of https://github.com/mocchira/cowboy into 1.0.x

Loïc Hoguin 10 years ago
parent
commit
19a279dfdc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/cowboy_http.erl

+ 1 - 1
src/cowboy_http.erl

@@ -425,7 +425,7 @@ asctime_date(Data) ->
 							{error, badarg}
 					end);
 			(_Any, _WkDay) ->
-				{error, badarg1}
+				{error, badarg}
 		end).
 
 -spec asctime_year(binary(), tuple(), tuple()) -> any().