[BACK]Return to radix.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/Attic/radix.c between version 1.18 and 1.19

version 1.18, 2002/04/20 09:17:19 version 1.19, 2002/04/22 06:15:47
Line 76 
Line 76 
   
 #define GETSTRING(b, t, tlen) \  #define GETSTRING(b, t, tlen) \
         do { \          do { \
                 int i; \                  int i, found = 0; \
                 for (i = 0; i < tlen; i++) { \                  for (i = 0; i < tlen; i++) { \
                         if (buffer_len(b) == 0) \                          if (buffer_len(b) == 0) \
                                 goto done; \                                  goto done; \
                         t[i] = buffer_get_char(b); \                          t[i] = buffer_get_char(b); \
                         if (t[i] == '\0') \                          if (t[i] == '\0') { \
                                   found = 1; \
                                 break; \                                  break; \
                           } \
                 } \                  } \
                 if (t[i] != '\0') \                  if (!found) \
                         goto done; \                          goto done; \
         } while(0)          } while(0)
   

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19