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

Diff for /src/usr.bin/ssh/sftp-server.c between version 1.43 and 1.44

version 1.43, 2003/06/25 22:39:36 version 1.44, 2003/11/10 16:23:41
Line 143 
Line 143 
 }  }
   
 static int  static int
 handle_new(int use, char *name, int fd, DIR *dirp)  handle_new(int use, const char *name, int fd, DIR *dirp)
 {  {
         int i;          int i;
   
Line 178 
Line 178 
 }  }
   
 static int  static int
 handle_from_string(char *handle, u_int hlen)  handle_from_string(const char *handle, u_int hlen)
 {  {
         int val;          int val;
   
Line 292 
Line 292 
         buffer_free(&msg);          buffer_free(&msg);
 }  }
 static void  static void
 send_data_or_handle(char type, u_int32_t id, char *data, int dlen)  send_data_or_handle(char type, u_int32_t id, const char *data, int dlen)
 {  {
         Buffer msg;          Buffer msg;
   
Line 305 
Line 305 
 }  }
   
 static void  static void
 send_data(u_int32_t id, char *data, int dlen)  send_data(u_int32_t id, const char *data, int dlen)
 {  {
         TRACE("sent data id %u len %d", id, dlen);          TRACE("sent data id %u len %d", id, dlen);
         send_data_or_handle(SSH2_FXP_DATA, id, data, dlen);          send_data_or_handle(SSH2_FXP_DATA, id, data, dlen);
Line 324 
Line 324 
 }  }
   
 static void  static void
 send_names(u_int32_t id, int count, Stat *stats)  send_names(u_int32_t id, int count, const Stat *stats)
 {  {
         Buffer msg;          Buffer msg;
         int i;          int i;
Line 344 
Line 344 
 }  }
   
 static void  static void
 send_attrib(u_int32_t id, Attrib *a)  send_attrib(u_int32_t id, const Attrib *a)
 {  {
         Buffer msg;          Buffer msg;
   
Line 561 
Line 561 
 }  }
   
 static struct timeval *  static struct timeval *
 attrib_to_tv(Attrib *a)  attrib_to_tv(const Attrib *a)
 {  {
         static struct timeval tv[2];          static struct timeval tv[2];
   

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44