]> Savannah Git Hosting - gnulib.git/commit
xgethostname: Don't return an excessive memory allocation.
authorBruno Haible <bruno@clisp.org>
Fri, 5 Jul 2019 22:43:01 +0000 (00:43 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 5 Jul 2019 22:43:01 +0000 (00:43 +0200)
commit98802d166215602a88988ae566259edf4f67efe8
treea04d7479e8d6932526427f60d8332c623b3b41c8
parent8f91b5cf3514d664289afaace0d6f832b9608f20
xgethostname: Don't return an excessive memory allocation.

* lib/xgethostname.c (xgethostname): Shrink the hostname buffer before
returning it.
ChangeLog
lib/xgethostname.c