"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "htmldoc/http-addrlist.c" between
htmldoc-1.9.14-source.tar.gz and htmldoc-1.9.15-source.tar.gz

About: HTMLDOC converts HTML and Markdown source files into indexed HTML, EPUB, PostScript, or PDF files (but doesn’t support CSS).

http-addrlist.c  (htmldoc-1.9.14-source):http-addrlist.c  (htmldoc-1.9.15-source)
skipping to change at line 485 skipping to change at line 485
int family, /* I - Address family or AF_UNSPEC */ int family, /* I - Address family or AF_UNSPEC */
const char *service) /* I - Service name or port number */ const char *service) /* I - Service name or port number */
{ {
http_addrlist_t *first, /* First address in list */ http_addrlist_t *first, /* First address in list */
*addr, /* Current address in list */ *addr, /* Current address in list */
*temp; /* New address */ *temp; /* New address */
char ipv6[64]; /* IPv6 address */ char ipv6[64]; /* IPv6 address */
// _cups_globals_t *cg = _cupsGlobals(); // _cups_globals_t *cg = _cupsGlobals();
/* Global data */ /* Global data */
#ifdef DEBUG //#ifdef DEBUG
_cups_debug_printf("httpAddrGetList(hostname=\"%s\", family=AF_%s, " // _cups_debug_printf("httpAddrGetList(hostname=\"%s\", family=AF_%s, "
"service=\"%s\")\n", // "service=\"%s\")\n",
hostname ? hostname : "(nil)", // hostname ? hostname : "(nil)",
family == AF_UNSPEC ? "UNSPEC" : // family == AF_UNSPEC ? "UNSPEC" :
# ifdef AF_LOCAL //# ifdef AF_LOCAL
family == AF_LOCAL ? "LOCAL" : // family == AF_LOCAL ? "LOCAL" :
# endif /* AF_LOCAL */ //# endif /* AF_LOCAL */
# ifdef AF_INET6 //# ifdef AF_INET6
family == AF_INET6 ? "INET6" : // family == AF_INET6 ? "INET6" :
# endif /* AF_INET6 */ //# endif /* AF_INET6 */
family == AF_INET ? "INET" : "???", service); // family == AF_INET ? "INET" : "???", service);
#endif /* DEBUG */ //#endif /* DEBUG */
#if 0 #if 0
#ifdef HAVE_RES_INIT #ifdef HAVE_RES_INIT
/* /*
* STR #2920: Initialize resolver after failure in cups-polld * STR #2920: Initialize resolver after failure in cups-polld
* *
* If the previous lookup failed, re-initialize the resolver to prevent * If the previous lookup failed, re-initialize the resolver to prevent
* temporary network errors from persisting. This *should* be handled by * temporary network errors from persisting. This *should* be handled by
* the resolver libraries, but apparently the glibc folks do not agree. * the resolver libraries, but apparently the glibc folks do not agree.
* *
 End of changes. 1 change blocks. 
13 lines changed or deleted 13 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)