From 283707c5e5bc436b78ea23bf5500cb6b16a01148 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Mon, 11 Apr 2016 13:00:27 +0200 Subject: Imported Upstream version 0.9 --- HostnameMeter.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'HostnameMeter.c') diff --git a/HostnameMeter.c b/HostnameMeter.c index db3528c..3fbd549 100644 --- a/HostnameMeter.c +++ b/HostnameMeter.c @@ -1,6 +1,6 @@ /* htop -(C) 2004-2006 Hisham H. Muhammad +(C) 2004-2010 Hisham H. Muhammad Released under the GNU GPL, see the COPYING file in the source distribution for its full text. */ @@ -17,6 +17,7 @@ int HostnameMeter_attributes[] = { }; static void HostnameMeter_setValues(Meter* this, char* buffer, int size) { + (void) this; gethostname(buffer, size-1); } -- cgit v1.2.3