httpClose(http_t *http) /* I - Connection to server */
{
#ifdef HAVE_GSSAPI
- OM_uint32 minor_status, /* Minor status code */
- major_status; /* Major status code */
+ OM_uint32 minor_status; /* Minor status code */
#endif /* HAVE_GSSAPI */
#ifdef HAVE_GSSAPI
if (http->gssctx != GSS_C_NO_CONTEXT)
- major_status = gss_delete_sec_context(&minor_status, &http->gssctx,
- GSS_C_NO_BUFFER);
+ gss_delete_sec_context(&minor_status, &http->gssctx, GSS_C_NO_BUFFER);
if (http->gssname != GSS_C_NO_NAME)
- major_status = gss_release_name(&minor_status, &http->gssname);
+ gss_release_name(&minor_status, &http->gssname);
#endif /* HAVE_GSSAPI */
#ifdef HAVE_AUTHORIZATION_H
char line[255], /* Line buffer */
*start, /* Start of line after prefix */
*ptr; /* Pointer into line */
- _cups_globals_t *cg = _cupsGlobals(); /* Global data */
- if (cg->debug_init && cg->debug_fd < 0)
+ if (_cups_debug_fd < 0)
return;
DEBUG_printf(("%s: %d bytes:\n", prefix, bytes));
# elif defined(HAVE_CDSASSL)
size_t bytes; /* Bytes that are available */
- if (!SSLGetBufferedReadSize(((http_tls_t *)http->tls)->session, &bytes) && bytes > 0)
+ if (!SSLGetBufferedReadSize(((http_tls_t *)(http->tls))->session, &bytes) &&
+ bytes > 0)
return (1);
# endif /* HAVE_LIBSSL */
}