[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.170 and 1.171

version 1.170, 2002/02/27 21:23:13 version 1.171, 2002/03/04 19:37:58
Line 146 
Line 146 
 {  {
         Channel *c;          Channel *c;
   
         if (id < 0 || id > channels_alloc) {          if (id < 0 || id >= channels_alloc) {
                 log("channel_lookup: %d: bad id", id);                  log("channel_lookup: %d: bad id", id);
                 return NULL;                  return NULL;
         }          }

Legend:
Removed from v.1.170  
changed lines
  Added in v.1.171