cURL / Mailing Lists / curl-users / Single Mail

curl-users

snprintf in tests/sws.c

From: Peter Sylvester <peter.sylvester_at_edelweb.fr>
Date: Fri, 24 May 2002 15:53:09 +0200

There is one line in tests/sws.c that uses snprintf. On some systems
snprintf
is not available. It seems that the actual line can be safely be
replaced by
using

      #define snprintf(logbuf, s , m , sig) sprintf(logbuf, m , sig)

or something equivalent.

Thanks in advance.for consideration.
Peter Sylvester

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Received on 2002-05-24