smtp_connect: always provide host name buffer
authorDaniel Stenberg <daniel@haxx.se>
Fri, 30 Jul 2010 20:36:31 +0000 (22:36 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 30 Jul 2010 20:36:31 +0000 (22:36 +0200)
commit314117cbf180dc6bc333621052f6d8c2e9a25ac7
tree28212f40579412fc90900e4f728b70f15418c7be
parentd296dd4ee87426bc6982255d7a966fd8c4b7e989
smtp_connect: always provide host name buffer

Previously the host name buffer was only used if gethostname() exists,
but since we converted that into a curl private function that function
always exists and will be used so the buffer needs to exist for all
cases/systems.
lib/smtp.c