From feabd736de6897d7989f7a4e9d36bc7d76c752ec Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Mon, 18 Jan 2010 19:08:49 -0800 Subject: [PATCH] rid dup in solaris route_list impl --- src/os/solaris/solaris_sigar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/solaris/solaris_sigar.c b/src/os/solaris/solaris_sigar.c index 5c7f0f85..ef9472f1 100644 --- a/src/os/solaris/solaris_sigar.c +++ b/src/os/solaris/solaris_sigar.c @@ -1886,7 +1886,7 @@ int sigar_net_route_list_get(sigar_t *sigar, for (entry = (mib2_ipRouteEntry_t *)data, end = data + len; (char *)entry < end; - entry = (mib2_ipRouteEntry_t *)((char *)data+nread), nread+=size) + nread+=size, entry = (mib2_ipRouteEntry_t *)((char *)data+nread)) { sigar_net_route_t *route; int type = entry->ipRouteInfo.re_ire_type;