DEBUG_printf(("cupsDoIORequest: Request length=%ld, total length=%ld",
(long)ippLength(request), (long)length));
+ /*
+ * Clear any "Local" authentication data since it is probably stale...
+ */
+
+ if (http->authstring && !strncmp(http->authstring, "Local ", 6))
+ httpSetAuthString(http, NULL, NULL);
+
/*
* Loop until we can send the request without authorization problems.
*/
return (HTTP_SERVICE_UNAVAILABLE);
}
- /*
- * Clear any "Local" authentication data since it is probably stale...
- */
-
- if (http->authstring && !strncmp(http->authstring, "Local ", 6))
- httpSetAuthString(http, NULL, NULL);
-
/*
* Loop until we can send the request without authorization problems.
*/