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

Diff for /src/usr.bin/ftp/stringlist.c between version 1.5 and 1.6

version 1.5, 2004/07/20 03:50:26 version 1.6, 2004/09/16 04:39:16
Line 98 
Line 98 
         }          }
         free(sl);          free(sl);
 }  }
   
   
 /*  
  * sl_find(): Find a name in the string list  
  */  
 char *  
 sl_find(StringList *sl, char *name)  
 {  
         size_t i;  
   
         for (i = 0; i < sl->sl_cur; i++)  
                 if (strcmp(sl->sl_str[i], name) == 0)  
                         return sl->sl_str[i];  
   
         return NULL;  
 }  

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6