Use calloc() to save us the memset() call and terminate conn->host.name
authorDaniel Stenberg <daniel@haxx.se>
Sun, 30 Jan 2005 12:42:15 +0000 (12:42 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 30 Jan 2005 12:42:15 +0000 (12:42 +0000)
commite6034ea2997e9df872c930cd626fc0c71912fc46
tree6088fe474b086462ea956e117b8bc3296cfbe9d3
parentc7f51ebeab8ac78e654e83dfb7febb84bf540147
Use calloc() to save us the memset() call and terminate conn->host.name
properly, to avoid reading uninited variables when using file:// (valgrind)
lib/url.c