[BACK]Return to res_data.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / resolv

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/resolv/res_data.c between version 1.11.8.1 and 1.12

version 1.11.8.1, 2009/05/13 19:18:26 version 1.12, 2009/04/12 17:07:17
Line 327  u_int
Line 327  u_int
 res_randomid(void) {  res_randomid(void) {
         if ((_nres.options & RES_INIT) == 0U && res_init() == -1) {          if ((_nres.options & RES_INIT) == 0U && res_init() == -1) {
                 RES_SET_H_ERRNO(&_res, NETDB_INTERNAL);                  RES_SET_H_ERRNO(&_res, NETDB_INTERNAL);
                 return (u_int)-1;                  return (-1);
         }          }
   
         return (res_nrandomid(&_nres));          return (res_nrandomid(&_nres));

Legend:
Removed from v.1.11.8.1  
changed lines
  Added in v.1.12

CVSweb <webmaster@jp.NetBSD.org>