mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-18 02:55:12 +00:00
fix indenting in linux.c
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1048 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
749fb99edd
commit
3966025939
@ -398,8 +398,7 @@ inline void update_net_stats()
|
|||||||
ns = get_net_stat(
|
ns = get_net_stat(
|
||||||
((struct ifreq *) conf.ifc_buf)[k].ifr_ifrn.ifrn_name);
|
((struct ifreq *) conf.ifc_buf)[k].ifr_ifrn.ifrn_name);
|
||||||
ns->addr = ((struct ifreq *) conf.ifc_buf)[k].ifr_ifru.ifru_addr;
|
ns->addr = ((struct ifreq *) conf.ifc_buf)[k].ifr_ifru.ifru_addr;
|
||||||
if(NULL != ns->addrs)
|
if(NULL != ns->addrs) {
|
||||||
{
|
|
||||||
sprintf(temp_addr, "%u.%u.%u.%u, ",
|
sprintf(temp_addr, "%u.%u.%u.%u, ",
|
||||||
ns->addr.sa_data[2] & 255,
|
ns->addr.sa_data[2] & 255,
|
||||||
ns->addr.sa_data[3] & 255,
|
ns->addr.sa_data[3] & 255,
|
||||||
|
Loading…
Reference in New Issue
Block a user