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

Diff for /src/usr.bin/ssh/channels.c between version 1.138 and 1.139

version 1.138, 2001/10/08 11:48:57 version 1.139, 2001/10/09 21:59:41
Line 359 
Line 359 
                         channel_free(channels[i]);                          channel_free(channels[i]);
 }  }
   
 void  
 channel_detach_all(void)  
 {  
         int i;  
         Channel *c;  
   
         for (i = 0; i < channels_alloc; i++) {  
                 c = channels[i];  
                 if (c != NULL && c->detach_user != NULL) {  
                         debug("channel_detach_all: channel %d", c->self);  
                         c->detach_user(c->self, NULL);  
                         c->detach_user = NULL;  
                 }  
         }  
 }  
   
 /*  /*
  * Closes the sockets/fds of all channels.  This is used to close extra file   * Closes the sockets/fds of all channels.  This is used to close extra file
  * descriptors after a fork.   * descriptors after a fork.

Legend:
Removed from v.1.138  
changed lines
  Added in v.1.139