Skip to content

Commit c8cfff9

Browse files
committed
Merge pull request android-async-http#198 from lucamac/master
BinaryHttpResponseHandler.java: handleMessage cast eror on FAILURE_MESSAGE management
2 parents 059f033 + 948e25c commit c8cfff9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/loopj/android/http/BinaryHttpResponseHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ protected void handleMessage(Message msg) {
146146
break;
147147
case FAILURE_MESSAGE:
148148
response = (Object[])msg.obj;
149-
handleFailureMessage((Throwable)response[0], (byte[])response[1]);
149+
handleFailureMessage((Throwable)response[0], response[1].toString());
150150
break;
151151
default:
152152
super.handleMessage(msg);

0 commit comments

Comments
 (0)