curl_gethostname.c: fix signed/unsigned comparison and avoid a double copy
authorYang Tse <yangsita@gmail.com>
Thu, 13 Oct 2011 21:00:24 +0000 (23:00 +0200)
committerYang Tse <yangsita@gmail.com>
Thu, 13 Oct 2011 21:00:24 +0000 (23:00 +0200)
commitea12c72d122cb35548979fb86dcec7f1488fc5d6
tree18a36ddb33dfc87e7c806e260b226c3332455d01
parent47e4537ac6d7c8b40ba742908efd6ddb1d362ba9
curl_gethostname.c: fix signed/unsigned comparison and avoid a double copy

both introduced in 42be24af
lib/curl_gethostname.c