an unconditional occurance of inet_ntoa() now uses inet_ntoa_r() on all
authorDaniel Stenberg <daniel@haxx.se>
Fri, 4 Jan 2002 09:38:52 +0000 (09:38 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 4 Jan 2002 09:38:52 +0000 (09:38 +0000)
commitf75ff58b4b2ddf2181a69199f65a7d7cc55aaa52
treede32d923fc9ecdfa5527fd9b788679d986343336
parentae9bf16dee59f6a0fefdd9484d434a61ee7c601a
an unconditional occurance of inet_ntoa() now uses inet_ntoa_r() on all
platforms that have such a function.
This affects multi-thread running libcurls on IPv4 systems that have VERBOSE
switched on. The previous version was risking that another thread overwrote
the data before it was read out in this thread. There could possibly also
be a slight risk that the data isn't zero terminated for a short while and
thus could cause the thread to crash...
lib/url.c