[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.69 and 1.70

version 1.69, 2006/08/01 23:22:47 version 1.70, 2006/08/03 03:34:42
Line 14 
Line 14 
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF   * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.   * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */   */
 #include "includes.h"  
   
 #include <sys/types.h>  #include <sys/types.h>
 #include <sys/stat.h>  #include <sys/stat.h>
Line 27 
Line 26 
 #include <stdlib.h>  #include <stdlib.h>
 #include <stdio.h>  #include <stdio.h>
 #include <string.h>  #include <string.h>
   #include <pwd.h>
 #include <time.h>  #include <time.h>
 #include <unistd.h>  #include <unistd.h>
   #include <stdarg.h>
   
   #include "xmalloc.h"
 #include "buffer.h"  #include "buffer.h"
 #include "bufaux.h"  
 #include "log.h"  #include "log.h"
 #include "xmalloc.h"  
 #include "misc.h"  #include "misc.h"
 #include "uidswap.h"  #include "uidswap.h"
   
Line 132 
Line 132 
 #define PAPPEND(str)    {                               \  #define PAPPEND(str)    {                               \
                 if (*ret != '\0')                       \                  if (*ret != '\0')                       \
                         strlcat(ret, ",", sizeof(ret)); \                          strlcat(ret, ",", sizeof(ret)); \
                 strlcat(ret, str, sizeof(ret));         \                  strlcat(ret, str, sizeof(ret));         \
         }          }
   
         if (pflags & SSH2_FXF_READ)          if (pflags & SSH2_FXF_READ)
Line 1205 
Line 1205 
                 case 'c':                  case 'c':
                         /*                          /*
                          * Ignore all arguments if we are invoked as a                           * Ignore all arguments if we are invoked as a
                          * shell using "sftp-server -c command"                           * shell using "sftp-server -c command"
                          */                           */
                         skipargs = 1;                          skipargs = 1;
                         break;                          break;

Legend:
Removed from v.1.69  
changed lines
  Added in v.1.70