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

Diff for /src/usr.bin/ssh/Attic/uuencode.c between version 1.26 and 1.27

version 1.26, 2010/08/31 11:54:45 version 1.27, 2013/05/17 00:13:14
Line 27 
Line 27 
 #include <netinet/in.h>  #include <netinet/in.h>
 #include <resolv.h>  #include <resolv.h>
 #include <stdio.h>  #include <stdio.h>
   #include <stdlib.h>
   
 #include "xmalloc.h"  #include "xmalloc.h"
 #include "uuencode.h"  #include "uuencode.h"
Line 65 
Line 66 
         /* and remove trailing whitespace because __b64_pton needs this */          /* and remove trailing whitespace because __b64_pton needs this */
         *p = '\0';          *p = '\0';
         len = __b64_pton(encoded, target, targsize);          len = __b64_pton(encoded, target, targsize);
         xfree(encoded);          free(encoded);
         return len;          return len;
 }  }
   
Line 88 
Line 89 
         }          }
         if (i % 70 != 69)          if (i % 70 != 69)
                 fprintf(fp, "\n");                  fprintf(fp, "\n");
         xfree(buf);          free(buf);
 }  }

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27