summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/gmdns/files/patch-src_gmdns-txt.c18
1 files changed, 15 insertions, 3 deletions
diff --git a/net/gmdns/files/patch-src_gmdns-txt.c b/net/gmdns/files/patch-src_gmdns-txt.c
index 947e171f7fd2..8006992d6ad7 100644
--- a/net/gmdns/files/patch-src_gmdns-txt.c
+++ b/net/gmdns/files/patch-src_gmdns-txt.c
@@ -1,6 +1,18 @@
---- src/gmdns-txt.c.orig Sun Jun 6 01:27:19 2004
-+++ src/gmdns-txt.c Sun Jun 6 01:29:38 2004
-@@ -106,6 +106,7 @@
+--- src/gmdns-txt.c.orig Fri Jun 4 13:19:40 2004
++++ src/gmdns-txt.c Fri Jun 18 15:19:04 2004
+@@ -78,7 +78,11 @@
+ }
+
+ if (pairlen+i > len) {
++#if GLIB_SIZEOF_LONG == 4
+ g_warning ("invalid record (pair claims to extend beyond the end of the record (%d + %d > len = %d))", pairlen, i, len);
++#else
++ g_warning ("invalid record (pair claims to extend beyond the end of the record (%d + %d > len = %ld))", pairlen, i, len);
++#endif
+ return hash;
+ }
+
+@@ -106,6 +110,7 @@
return hash;
}