[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: talkd
- To: tech_(_at_)_openbsd_(_dot_)_org
- Subject: Re: talkd
- From: Chris Jepeway <jepeway_(_at_)_cs_(_dot_)_utk_(_dot_)_edu>
- Date: Fri, 06 Oct 2000 14:09:11 -0400
> [talkd bug] is fixed on July 6: "use %s with fprintf"
>
> http://www.openbsd.org/cgi-bin/cvsweb/src/libexec/talkd/announce.c?r1=1.8&r2=1.9
>
> - fprintf(tf, big_buf);
> + fprintf(tf, "%s", big_buf);
Is there a rationale for preferring fprintf() here to fputs()?
> Jeremy C. Reed
Chris <jepeway_(_at_)_cs_(_dot_)_utk_(_dot_)_edu>
Visit your host, monkey.org