Browse Source

Fix the SPDY suite for R15

Loïc Hoguin 11 years ago
parent
commit
0a439d0f03
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/spdy_SUITE.erl

+ 1 - 1
test/spdy_SUITE.erl

@@ -103,7 +103,7 @@ quick_get(Pid, Host, Path) ->
 			error(Reason);
 			error(Reason);
 		{gun_response, Pid, StreamRef, IsFin,
 		{gun_response, Pid, StreamRef, IsFin,
 				<< Status:3/binary, _/bits >>, Headers} ->
 				<< Status:3/binary, _/bits >>, Headers} ->
-			{IsFin, binary_to_integer(Status), Headers}
+			{IsFin, list_to_integer(binary_to_list(Status)), Headers}
 	after 1000 ->
 	after 1000 ->
 		error(timeout)
 		error(timeout)
 	end.
 	end.