Index: uspace/lib/http/src/response.c
===================================================================
--- uspace/lib/http/src/response.c	(revision 9a09212e32dd13e7892460d73e67936977ef1753)
+++ uspace/lib/http/src/response.c	(revision a1026daf544b91d3c8e6d81817113aece3c7440e)
@@ -54,5 +54,5 @@
 	recv_mark(rb, &start);
 	int rc = recv_while(rb, is_digit);
-	if (rc < 0) {
+	if (rc != EOK) {
 		recv_unmark(rb, &start);
 		return rc;
@@ -149,5 +149,5 @@
 	
 	rc = recv_while(rb, is_not_newline);
-	if (rc < 0) {
+	if (rc != EOK) {
 		recv_unmark(rb, &msg_start);
 		return rc;
