X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fwget.h;h=21b758bd62f31231e181b6c30c534aed24c7fc28;hp=ccc73b6146c2f1bf6511938259f9e719705dcc2f;hb=30ac043b0a4a9a983dd1b50ce1c89ed953019292;hpb=b2be7522c745827b521a8ed535201427df32eec7 diff --git a/src/wget.h b/src/wget.h index ccc73b61..21b758bd 100644 --- a/src/wget.h +++ b/src/wget.h @@ -326,4 +326,7 @@ typedef unsigned char boolean; retrieve the requisites of a single document. */ #define INFINITE_RECURSION -1 +#define CONNECT_ERROR(x) ((x) == ECONNREFUSED && !opt.retry_connrefused \ + ? CONREFUSED : CONERROR) + #endif /* WGET_H */