=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ftp/fetch.c,v retrieving revision 1.63 retrieving revision 1.64 diff -c -r1.63 -r1.64 *** src/usr.bin/ftp/fetch.c 2006/05/25 03:43:36 1.63 --- src/usr.bin/ftp/fetch.c 2006/05/25 03:45:25 1.64 *************** *** 1,4 **** ! /* $OpenBSD: fetch.c,v 1.63 2006/05/25 03:43:36 ray Exp $ */ /* $NetBSD: fetch.c,v 1.14 1997/08/18 10:20:20 lukem Exp $ */ /*- --- 1,4 ---- ! /* $OpenBSD: fetch.c,v 1.64 2006/05/25 03:45:25 ray Exp $ */ /* $NetBSD: fetch.c,v 1.14 1997/08/18 10:20:20 lukem Exp $ */ /*- *************** *** 38,44 **** */ #if !defined(lint) && !defined(SMALL) ! static const char rcsid[] = "$OpenBSD: fetch.c,v 1.63 2006/05/25 03:43:36 ray Exp $"; #endif /* not lint and not SMALL */ /* --- 38,44 ---- */ #if !defined(lint) && !defined(SMALL) ! static const char rcsid[] = "$OpenBSD: fetch.c,v 1.64 2006/05/25 03:45:25 ray Exp $"; #endif /* not lint and not SMALL */ /* *************** *** 1087,1093 **** if ((ret = vasprintf(&string, fmt, ap)) == -1) return ret; ! ret = SSL_write(ssl, (void *)string, (int)strlen(string)); free(string); return ret; } --- 1087,1093 ---- if ((ret = vasprintf(&string, fmt, ap)) == -1) return ret; ! ret = SSL_write(ssl, string, ret); free(string); return ret; }