if (!_cups_strcasecmp(httpGetField(http, HTTP_FIELD_CONNECTION), "close"))
{
httpClearFields(http);
- if (!httpReconnect2(http, 30000, NULL))
+ if (httpReconnect2(http, 30000, NULL))
{
status = HTTP_STATUS_ERROR;
break;
// Send the GET request...
if (!httpWriteRequest(http, "GET", resource))
{
- if (httpReconnect2(http, 30000, NULL))
+ if (!httpReconnect2(http, 30000, NULL))
{
status = HTTP_STATUS_UNAUTHORIZED;
continue;
break;
}
- if (!httpReconnect2(http, 30000, NULL))
+ if (httpReconnect2(http, 30000, NULL))
{
status = HTTP_STATUS_ERROR;
break;
httpFlush(http);
// Reconnect...
- if (!httpReconnect2(http, 30000, NULL))
+ if (httpReconnect2(http, 30000, NULL))
{
status = HTTP_STATUS_ERROR;
break;