diff -ur efax-0.9a-001114/efaxmsg.c efax-0.9a-001114/efaxmsg.c --- efax-0.9a-001114/efaxmsg.c 1999-03-20 04:38:20.000000000 +0000 +++ efax-0.9a-001114/efaxmsg.c 2007-11-04 14:04:22.000000000 +0000 @@ -99,7 +99,6 @@ char *p ; va_list ap ; - va_start ( ap, fmt ) ; if ( ! init ) { logfile[0] = stderr ; @@ -141,18 +140,17 @@ " ", logfile[i] ) ; } + va_start ( ap, fmt ) ; vfprintf( logfile[i], p, ap ) ; + va_end ( ap ) ; if ( flags & S ) fprintf ( logfile[i], " %s", strerror ( errno ) ) ; if ( ! ( flags & NOLF ) ) fputs ( "\n", logfile[i] ) ; atcol1[i] = flags & NOLF ? 0 : 1 ; if ( ! ( flags & NOFLSH ) ) fflush ( logfile[i] ) ; - } } - va_end ( ap ) ; - return err ; }