r24780: More work allowing libutil to be used by external users.
[kai/samba.git] / source4 / web_server / web_server.c
index a5402a77f7aee3155abd6fd3417e281c1db17475..f9031433d38a5542d09fb68bd2cc48c5af0ee7b1 100644 (file)
@@ -78,8 +78,8 @@ static void websrv_recv(struct stream_connection *conn, uint16_t flags)
        if (NT_STATUS_IS_ERR(status)) goto failed;
        if (!NT_STATUS_IS_OK(status)) return;
 
-       status = data_blob_append(web, &web->input.partial, buf, nread);
-       if (!NT_STATUS_IS_OK(status)) goto failed;
+       if (!data_blob_append(web, &web->input.partial, buf, nread))
+               goto failed;
 
        /* parse any lines that are available */
        b = web->input.partial;