Prevent multiple initialization of memdebug configuration variables.
authorYang Tse <yangsita@gmail.com>
Sun, 5 Nov 2006 12:42:50 +0000 (12:42 +0000)
committerYang Tse <yangsita@gmail.com>
Sun, 5 Nov 2006 12:42:50 +0000 (12:42 +0000)
commit1bcbe89802776fa735d1f50deb921add4a33b766
tree85a91c0d92cfd8dc8ba85a6208f177a14e776e1f
parentbf57e9bb12c502c828a052e1901349a8c522a617
Prevent multiple initialization of memdebug configuration variables.

This was possible on debug c-ares enabled builds when both CURL_MEMDEBUG
and CARES_MEMDEBUG environment variables were set. Leading to a file handle
leak even when both variables had the same value, and wierd test suite
results when different.
lib/memdebug.c