example: indicate http error presence with return code 8
authorFelix Fietkau <nbd@openwrt.org>
Sun, 4 May 2014 18:24:18 +0000 (20:24 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 4 May 2014 18:24:18 +0000 (20:24 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
uclient-example.c

index bee5068e9d220ed937a60faff3b2043d918ee8b0..57a8f821d9d0a81cdf1337934f9178930aeaa4f6 100644 (file)
@@ -130,6 +130,7 @@ static void example_header_done(struct uclient *cl)
 
        default:
                request_done(cl);
+               error_ret = 8;
                break;
        }
 }