3d44025101
netinfo piece of gnome-network broken out into its own distribution. Gnome-nettool is a MacOS X-like Network Utility that disaplys interface information as well as front-ends many useful network tools like ping, netstat, traceroute, host, finger, and whois.
12 lines
289 B
C
12 lines
289 B
C
--- src/utils.c.orig Sun Jul 4 20:11:49 2004
|
|
+++ src/utils.c Sun Jul 4 20:12:14 2004
|
|
@@ -240,7 +240,7 @@
|
|
const gchar *unit = "B";
|
|
gchar *result;
|
|
|
|
- sscanf (bytes, "%lld", &rx);
|
|
+ rx = strtoull (bytes, (char **)NULL, 10);
|
|
short_rx = rx * 10;
|
|
|
|
if (rx > 1125899906842624ull) {
|