Browse Source

Fix typo in cowboy_http:asctime_date

mocchira 10 years ago
parent
commit
67ab508d9b
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}
 							{error, badarg}
 					end);
 					end);
 			(_Any, _WkDay) ->
 			(_Any, _WkDay) ->
-				{error, badarg1}
+				{error, badarg}
 		end).
 		end).
 
 
 -spec asctime_year(binary(), tuple(), tuple()) -> any().
 -spec asctime_year(binary(), tuple(), tuple()) -> any().