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

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

Diff for /src/lib/libc/inet/inet_cidr_ntop.c between version 1.7 and 1.8

version 1.7, 2009/04/12 17:07:16 version 1.8, 2012/03/13 21:13:38
Line 35  __RCSID("$NetBSD$");
Line 35  __RCSID("$NetBSD$");
 #include <arpa/nameser.h>  #include <arpa/nameser.h>
 #include <arpa/inet.h>  #include <arpa/inet.h>
   
   #include <assert.h>
 #include <errno.h>  #include <errno.h>
 #include <stdio.h>  #include <stdio.h>
 #include <string.h>  #include <string.h>
Line 101  decoct(const u_char *src, size_t bytes, 
Line 102  decoct(const u_char *src, size_t bytes, 
                 }                  }
                 size -= (size_t)(dst - t);                  size -= (size_t)(dst - t);
         }          }
         return (dst - odst);          _DIAGASSERT(__type_fit(int, dst - odst));
           return (int)(dst - odst);
 }  }
   
 /*%  /*%

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

CVSweb <webmaster@jp.NetBSD.org>