"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/lib/ares_expand_string.c" between
c-ares-1.17.1.tar.gz and c-ares-1.17.2.tar.gz

About: c-ares is a C library for asynchronous DNS requests (including name resolves).

ares_expand_string.c  (c-ares-1.17.1):ares_expand_string.c  (c-ares-1.17.2)
skipping to change at line 22 skipping to change at line 22
* M.I.T. makes no representations about the suitability of * M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" * this software for any purpose. It is provided "as is"
* without express or implied warranty. * without express or implied warranty.
*/ */
#include "ares_setup.h" #include "ares_setup.h"
#ifdef HAVE_NETINET_IN_H #ifdef HAVE_NETINET_IN_H
# include <netinet/in.h> # include <netinet/in.h>
#endif #endif
#ifdef HAVE_ARPA_NAMESER_H
# include <arpa/nameser.h> #include "ares_nameser.h"
#else
# include "nameser.h"
#endif
#include "ares.h" #include "ares.h"
#include "ares_private.h" /* for the memdebug */ #include "ares_private.h" /* for the memdebug */
/* Simply decodes a length-encoded character string. The first byte of the /* Simply decodes a length-encoded character string. The first byte of the
* input is the length of the string to be returned and the bytes thereafter * input is the length of the string to be returned and the bytes thereafter
* are the characters of the string. The returned result will be NULL * are the characters of the string. The returned result will be NULL
* terminated. * terminated.
*/ */
int ares_expand_string(const unsigned char *encoded, int ares_expand_string(const unsigned char *encoded,
 End of changes. 1 change blocks. 
5 lines changed or deleted 2 lines changed or added

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