~ubuntu-branches/ubuntu/saucy/htop/saucy-proposed

« back to all changes in this revision

Viewing changes to HostnameMeter.c

  • Committer: Bazaar Package Importer
  • Author(s): Eugene V. Lyubimkin
  • Date: 2011-02-13 10:41:53 UTC
  • mfrom: (10.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20110213104153-0mv3qqddoh38psjk
Tags: 0.9-2
Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
htop
3
 
(C) 2004-2006 Hisham H. Muhammad
 
3
(C) 2004-2010 Hisham H. Muhammad
4
4
Released under the GNU GPL, see the COPYING file
5
5
in the source distribution for its full text.
6
6
*/
17
17
};
18
18
 
19
19
static void HostnameMeter_setValues(Meter* this, char* buffer, int size) {
 
20
   (void) this;
20
21
   gethostname(buffer, size-1);
21
22
}
22
23