X-Git-Url: http://git.openwrt.org/?p=project%2Fuclient.git;a=blobdiff_plain;f=uclient-fetch.c;h=c2b7e69b45aa863472b8c139a0e123017f1cfccf;hp=c64afb7e0b2b10ded49c967547af69a3c7f5343f;hb=2c8a8ace280de8e91d998ac5c7507f456132361b;hpb=97f6c34884927dbf1b1858ab232e00c61fce48de diff --git a/uclient-fetch.c b/uclient-fetch.c index c64afb7..c2b7e69 100644 --- a/uclient-fetch.c +++ b/uclient-fetch.c @@ -26,6 +26,7 @@ #include #include #include +#include #include @@ -476,6 +477,7 @@ int main(int argc, char **argv) int i, ch; int rc; + signal(SIGPIPE, SIG_IGN); init_ustream_ssl(); while ((ch = getopt_long(argc, argv, "cO:qsU:Y:", longopts, &longopt_idx)) != -1) {