forgotten file

This commit is contained in:
Matthias Clasen
2006-12-27 06:50:31 +00:00
parent c5ef6f4b39
commit da91672d46

View File

@ -768,12 +768,11 @@ _post_check (GtkCupsRequest *request)
}
else if (http_status == HTTP_ERROR)
{
int error = httpError (request->http);
#ifdef G_OS_WIN32
if (request->http->error != WSAENETDOWN &&
request->http->error != WSAENETUNREACH)
if (error != WSAENETDOWN && error != WSAENETUNREACH)
#else
if (request->http->error != ENETDOWN &&
request->http->error != ENETUNREACH)
if (error != ENETDOWN && error != ENETUNREACH)
#endif /* G_OS_WIN32 */
{
request->attempts++;