summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2006-12-27 06:50:31 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-12-27 06:50:31 +0000
commitda91672d465004ab354326589eabd684ad4e44ea (patch)
treeeaaf91d083e7b21854ddc159e9d88a0d05b31e56 /modules
parentc5ef6f4b39c801bdf864d92ccf107c58da594d4a (diff)
downloadgtk+-da91672d465004ab354326589eabd684ad4e44ea.tar.gz
forgotten file
Diffstat (limited to 'modules')
-rw-r--r--modules/printbackends/cups/gtkcupsutils.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/printbackends/cups/gtkcupsutils.c b/modules/printbackends/cups/gtkcupsutils.c
index 765f230b57..e2e4b157ad 100644
--- a/modules/printbackends/cups/gtkcupsutils.c
+++ b/modules/printbackends/cups/gtkcupsutils.c
@@ -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++;