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

Diff for /src/usr.bin/ssh/canohost.c between version 1.66 and 1.67

version 1.66, 2010/01/13 01:20:20 version 1.67, 2013/05/17 00:13:13
Line 38 
Line 38 
   
 /*  /*
  * Return the canonical name of the host at the other end of the socket. The   * Return the canonical name of the host at the other end of the socket. The
  * caller should free the returned string with xfree.   * caller should free the returned string.
  */   */
   
 static char *  static char *
Line 281 
Line 281 
 void  void
 clear_cached_addr(void)  clear_cached_addr(void)
 {  {
         if (canonical_host_ip != NULL) {          free(canonical_host_ip);
                 xfree(canonical_host_ip);          canonical_host_ip = NULL;
                 canonical_host_ip = NULL;  
         }  
         cached_port = -1;          cached_port = -1;
 }  }
   

Legend:
Removed from v.1.66  
changed lines
  Added in v.1.67