int sock_printf(Socket *sockp, const char *str, ...) { va_list ap; va_start(ap, str); const int r = sock_vprintf(sockp, str, ap); va_end(ap); return r; }
int sock_krb_vprintf(Socket *sockp, const char *str, va_list ap) { #ifdef SECFTP if(ftp->sec_complete) return sec_vfprintf(sockp->sout, str, ap); else #endif return sock_vprintf(sockp, str, ap); }