Diff for /embedaddon/quagga/lib/vty.h between versions 1.1 and 1.1.1.2

version 1.1, 2012/02/21 17:26:12 version 1.1.1.2, 2012/10/09 09:22:28
Line 152  struct vty  Line 152  struct vty 
 #define VTY_GET_LONG(NAME,V,STR) \  #define VTY_GET_LONG(NAME,V,STR) \
 do { \  do { \
   char *endptr = NULL; \    char *endptr = NULL; \
     errno = 0; \
   (V) = strtoul ((STR), &endptr, 10); \    (V) = strtoul ((STR), &endptr, 10); \
  if (*endptr != '\0' || (V) == ULONG_MAX) \  if (*(STR) == '-' || *endptr != '\0' || errno) \
     { \      { \
       vty_out (vty, "%% Invalid %s value%s", NAME, VTY_NEWLINE); \        vty_out (vty, "%% Invalid %s value%s", NAME, VTY_NEWLINE); \
       return CMD_WARNING; \        return CMD_WARNING; \

Removed from v.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>