diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-09-30 07:44:12 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-09-30 07:44:12 +0800 |
commit | 75ed206fc49f1e96ff92baf5b0e270e4e1d5e60c (patch) | |
tree | afd9273ff01b64132004b78d1ef73f216ccaacd9 /sysutils/gtk-imonc/files/patch-timer.c | |
parent | 63700ace357351288bdecc8f2b15cd7e3f64d182 (diff) | |
download | marcuscom-ports-75ed206fc49f1e96ff92baf5b0e270e4e1d5e60c.tar marcuscom-ports-75ed206fc49f1e96ff92baf5b0e270e4e1d5e60c.tar.gz marcuscom-ports-75ed206fc49f1e96ff92baf5b0e270e4e1d5e60c.tar.bz2 marcuscom-ports-75ed206fc49f1e96ff92baf5b0e270e4e1d5e60c.tar.lz marcuscom-ports-75ed206fc49f1e96ff92baf5b0e270e4e1d5e60c.tar.xz marcuscom-ports-75ed206fc49f1e96ff92baf5b0e270e4e1d5e60c.tar.zst marcuscom-ports-75ed206fc49f1e96ff92baf5b0e270e4e1d5e60c.zip |
- gnomehier -> gnomeprefix
Spotted by: pointyhat
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7358 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/gtk-imonc/files/patch-timer.c')
-rw-r--r-- | sysutils/gtk-imonc/files/patch-timer.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/sysutils/gtk-imonc/files/patch-timer.c b/sysutils/gtk-imonc/files/patch-timer.c new file mode 100644 index 000000000..62698a6c8 --- /dev/null +++ b/sysutils/gtk-imonc/files/patch-timer.c @@ -0,0 +1,30 @@ +--- 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"); |