[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.183 and 1.184

version 1.183, 2002/09/17 07:47:02 version 1.184, 2002/12/13 10:03:15
Line 577 
Line 577 
                 log("channel_send_open: %d: bad id", id);                  log("channel_send_open: %d: bad id", id);
                 return;                  return;
         }          }
         debug("send channel open %d", id);          debug2("channel %d: send open", id);
         packet_start(SSH2_MSG_CHANNEL_OPEN);          packet_start(SSH2_MSG_CHANNEL_OPEN);
         packet_put_cstring(c->ctype);          packet_put_cstring(c->ctype);
         packet_put_int(c->self);          packet_put_int(c->self);
Line 587 
Line 587 
 }  }
   
 void  void
 channel_request_start(int local_id, char *service, int wantconfirm)  channel_request_start(int id, char *service, int wantconfirm)
 {  {
         Channel *c = channel_lookup(local_id);          Channel *c = channel_lookup(id);
   
         if (c == NULL) {          if (c == NULL) {
                 log("channel_request_start: %d: unknown channel id", local_id);                  log("channel_request_start: %d: unknown channel id", id);
                 return;                  return;
         }          }
         debug("channel request %d: %s", local_id, service) ;          debug("channel %d: request %s", id, service) ;
         packet_start(SSH2_MSG_CHANNEL_REQUEST);          packet_start(SSH2_MSG_CHANNEL_REQUEST);
         packet_put_int(c->remote_id);          packet_put_int(c->remote_id);
         packet_put_cstring(service);          packet_put_cstring(service);

Legend:
Removed from v.1.183  
changed lines
  Added in v.1.184