summaryrefslogtreecommitdiffstats
path: root/sysutils/gtk-imonc/files/patch-timer.c
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-14 18:33:48 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-14 18:33:48 +0800
commit1b3327761c8bcb98d89b529daeae9600844b4361 (patch)
tree0be1cd4eb5fec6661da4798906b0d9bd522e794f /sysutils/gtk-imonc/files/patch-timer.c
parenta65aedbb59fd9dfb33a4633611777da99ec4dcd5 (diff)
downloadmarcuscom-ports-1b3327761c8bcb98d89b529daeae9600844b4361.tar
marcuscom-ports-1b3327761c8bcb98d89b529daeae9600844b4361.tar.gz
marcuscom-ports-1b3327761c8bcb98d89b529daeae9600844b4361.tar.bz2
marcuscom-ports-1b3327761c8bcb98d89b529daeae9600844b4361.tar.lz
marcuscom-ports-1b3327761c8bcb98d89b529daeae9600844b4361.tar.xz
marcuscom-ports-1b3327761c8bcb98d89b529daeae9600844b4361.tar.zst
marcuscom-ports-1b3327761c8bcb98d89b529daeae9600844b4361.zip
Clean out MarcusCom after the big import into ports.
Next stop, GNOME 2.17. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7799 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/gtk-imonc/files/patch-timer.c')
-rw-r--r--sysutils/gtk-imonc/files/patch-timer.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/sysutils/gtk-imonc/files/patch-timer.c b/sysutils/gtk-imonc/files/patch-timer.c
deleted file mode 100644
index 62698a6c8..000000000
--- a/sysutils/gtk-imonc/files/patch-timer.c
+++ /dev/null
@@ -1,30 +0,0 @@
---- src/timer.c.orig Wed Jan 12 12:36:24 2005
-+++ src/timer.c Thu Feb 17 21:10:06 2005
-@@ -293,14 +293,14 @@
- }
- else
- {
-- tmpbytes = atoll (strtok (NULL, " "));
-+ tmpbytes = strtoll (strtok (NULL, " "), NULL, 10);
- ibytes += tmpbytes;
- row[i] = get_bytes (tmpbytes,
- ibytebuf);
- }
- break;
- case 9: /* OBytes */
-- tmpbytes = atoll (strtok (NULL, " "));
-+ tmpbytes = strtoll (strtok (NULL, " "), NULL, 10);
- obytes += tmpbytes;
- row[i] = get_bytes (tmpbytes, obytebuf);
- break;
-@@ -1165,8 +1165,8 @@
- }
- else
- {
-- gtk_clist_set_text (GTK_CLIST (clist), j, 3, get_bytes(atoll(strtok(get_answer (fd)," ")), buf));
-- gtk_clist_set_text (GTK_CLIST (clist), j, 4, get_bytes(atoll(strtok(NULL, " ")), buf));
-+ gtk_clist_set_text (GTK_CLIST (clist), j, 3, get_bytes(strtoll(strtok(get_answer (fd)," "), NULL, 10), buf));
-+ gtk_clist_set_text (GTK_CLIST (clist), j, 4, get_bytes(strtoll(strtok(NULL, " "), NULL, 10), buf));
- }
-
- send_command (fd, "online-time pppoe");