1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/net/gnome-nettool/files/patch-src_utils.c
Joe Marcus Clarke 3d44025101 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.
2004-07-05 19:36:26 +00:00

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) {