make format string specifiers and actual args agree for long long/long/int
ok pvalchev@, maintainer
This commit is contained in:
parent
eb2180b8dd
commit
5dcad1fbe4
21
net/gtk-gnutella/patches/patch-src_downloads_c
Normal file
21
net/gtk-gnutella/patches/patch-src_downloads_c
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-src_downloads_c,v 1.1 2002/02/28 21:01:31 naddy Exp $
|
||||
--- src/downloads.c.orig Thu Feb 28 21:36:14 2002
|
||||
+++ src/downloads.c Thu Feb 28 21:37:02 2002
|
||||
@@ -1562,7 +1562,7 @@ static gboolean download_overlap_check(s
|
||||
*/
|
||||
|
||||
if (d->skip != buf.st_size) {
|
||||
- g_warning("File '%s' changed size (now %ld, but was %d)",
|
||||
+ g_warning("File '%s' changed size (now %lld, but was %d)",
|
||||
d->output_name, buf.st_size, d->skip);
|
||||
download_stop(d, GTA_DL_STOPPED, "Stopped (Output file size changed)");
|
||||
goto out;
|
||||
@@ -1827,7 +1827,7 @@ static void download_request(struct down
|
||||
if (stat(dl_tmp, &st) != -1) {
|
||||
/* File exists, we'll append the data to it */
|
||||
if (st.st_size != d->skip) {
|
||||
- g_warning("File '%s' changed size (now %ld, but was %d)",
|
||||
+ g_warning("File '%s' changed size (now %lld, but was %d)",
|
||||
d->output_name, st.st_size, d->skip);
|
||||
download_stop(d, GTA_DL_STOPPED,
|
||||
"Stopped (Output file size changed)");
|
11
net/gtk-gnutella/patches/patch-src_filter_h
Normal file
11
net/gtk-gnutella/patches/patch-src_filter_h
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-src_filter_h,v 1.1 2002/02/28 21:01:31 naddy Exp $
|
||||
--- src/filter.h.orig Thu Feb 28 21:37:33 2002
|
||||
+++ src/filter.h Thu Feb 28 21:37:46 2002
|
||||
@@ -2,6 +2,7 @@
|
||||
#ifndef __filter_h__
|
||||
#define __filter_h__
|
||||
|
||||
+#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <regex.h>
|
||||
|
12
net/gtk-gnutella/patches/patch-src_gui_c
Normal file
12
net/gtk-gnutella/patches/patch-src_gui_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_gui_c,v 1.1 2002/02/28 21:01:31 naddy Exp $
|
||||
--- src/gui.c.orig Thu Feb 28 21:39:22 2002
|
||||
+++ src/gui.c Thu Feb 28 21:42:09 2002
|
||||
@@ -583,7 +583,7 @@ void gui_update_download(struct download
|
||||
break;
|
||||
|
||||
case GTA_DL_TIMEOUT_WAIT:
|
||||
- g_snprintf(gui_tmp, sizeof(gui_tmp), "Retry in %lds",
|
||||
+ g_snprintf(gui_tmp, sizeof(gui_tmp), "Retry in %ds",
|
||||
d->timeout_delay - (now - d->last_update));
|
||||
a = gui_tmp;
|
||||
break;
|
Loading…
Reference in New Issue
Block a user