Fix tstamp() port
[efax.git] / efaxmsg.c
index cacbeb1..cfad54b 100644 (file)
--- a/efaxmsg.c
+++ b/efaxmsg.c
@@ -43,7 +43,7 @@ static time_t tstamp ( time_t last, FILE *f )
        if ( ! last )
     last = now;
 
-       printf ( "+%03ld", (long)(now - last) );
+       fprintf ( f, "+%03ld", (long)(now - last) );
 
   return now ;
 }