diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-07-05 19:36:26 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-07-05 19:36:26 +0000 |
commit | 3d440251017e0a5e603ce2a99fe25dd3108ad272 (patch) | |
tree | fbb792ef54e26896243f4e07fe0a81dc7854ca51 /net/gnome-nettool/files/patch-src_utils.c | |
parent | Chase master-site (diff) |
Add gnomenettool after a repo-copy from gnomenetwork. Gnome-nettool is the
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.
Diffstat (limited to 'net/gnome-nettool/files/patch-src_utils.c')
-rw-r--r-- | net/gnome-nettool/files/patch-src_utils.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/gnome-nettool/files/patch-src_utils.c b/net/gnome-nettool/files/patch-src_utils.c new file mode 100644 index 000000000000..0c8111ade4bf --- /dev/null +++ b/net/gnome-nettool/files/patch-src_utils.c @@ -0,0 +1,11 @@ +--- 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) { |