summaryrefslogtreecommitdiff
path: root/net/dc_gui/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'net/dc_gui/patches/patch-ae')
-rw-r--r--net/dc_gui/patches/patch-ae36
1 files changed, 0 insertions, 36 deletions
diff --git a/net/dc_gui/patches/patch-ae b/net/dc_gui/patches/patch-ae
deleted file mode 100644
index 6d9510171fc..00000000000
--- a/net/dc_gui/patches/patch-ae
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD: patch-ae,v 1.1.1.1 2002/09/11 20:47:14 wiz Exp $
-
---- src/do_connect.c.orig Wed Aug 14 16:05:09 2002
-+++ src/do_connect.c
-@@ -200,11 +200,11 @@ void update_dl_clist_size(GtkCList *clst
-
- if(spd<1024.0)
- {
-- sprintf(buf+strlen(buf)," %.2lfB/s",spd);
-+ sprintf(buf+strlen(buf)," %.2fB/s",spd);
- }
- else if(spd<(1024.0*1024.0))
- {
-- sprintf(buf+strlen(buf)," %.2lfKB/s",spd/1024.0);
-+ sprintf(buf+strlen(buf)," %.2fKB/s",spd/1024.0);
- }
- }
-
-@@ -722,7 +722,7 @@ void start_a_new_dctc(char *hub_address,
-
- g_ptr_array_add(cmd_line,g_string_chunk_insert(sc,"-o"));
-
-- sprintf(bf,"%.0lf",value);
-+ sprintf(bf,"%.0f",value);
- g_ptr_array_add(cmd_line,g_string_chunk_insert(sc,bf));
- }
- }
-@@ -1160,7 +1160,7 @@ void start_a_new_dctc(char *hub_address,
-
- g_ptr_array_add(cmd_line,g_string_chunk_insert(sc,"-o"));
-
-- sprintf(bf,"%.0lf",value);
-+ sprintf(bf,"%.0f",value);
- g_ptr_array_add(cmd_line,g_string_chunk_insert(sc,bf));
- }
- }