aboutsummaryrefslogtreecommitdiff
path: root/net/gnome-nettool/files/patch-src_nettool.c
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2005-03-12 10:39:38 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2005-03-12 10:39:38 +0000
commit190418a078b1eb7ea3c5d38a08bdab3cbd422086 (patch)
treebb336ccecde7052d26d3d8d8c97238744a373aad /net/gnome-nettool/files/patch-src_nettool.c
parent6b0c40606cac591d75b88d05c7276bd16c369035 (diff)
downloadports-190418a078b1eb7ea3c5d38a08bdab3cbd422086.tar.gz
ports-190418a078b1eb7ea3c5d38a08bdab3cbd422086.zip
Notes
Diffstat (limited to 'net/gnome-nettool/files/patch-src_nettool.c')
-rw-r--r--net/gnome-nettool/files/patch-src_nettool.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/net/gnome-nettool/files/patch-src_nettool.c b/net/gnome-nettool/files/patch-src_nettool.c
index 51f11e3f1e96..cae4f648fdf8 100644
--- a/net/gnome-nettool/files/patch-src_nettool.c
+++ b/net/gnome-nettool/files/patch-src_nettool.c
@@ -1,14 +1,14 @@
---- src/nettool.c.orig Wed Dec 22 07:07:36 2004
-+++ src/nettool.c Mon Dec 27 21:22:28 2004
-@@ -21,6 +21,7 @@
- #include <gnome.h>
+--- src/nettool.c.orig Fri Jan 7 23:13:56 2005
++++ src/nettool.c Mon Jan 24 21:03:48 2005
+@@ -22,6 +22,7 @@
+ #include <glib/gi18n.h>
#include <sys/types.h>
#include <sys/socket.h>
+#include <netinet/in.h>
#include <signal.h>
#include <errno.h>
#include <sys/wait.h>
-@@ -361,6 +362,10 @@
+@@ -357,6 +358,10 @@
len, NULL);
}
@@ -19,17 +19,15 @@
} else if (status == G_IO_STATUS_AGAIN) {
char buf[1];
-@@ -372,12 +377,14 @@
+@@ -368,12 +373,13 @@
}
g_string_append_c (netinfo->command_output, buf[0]);
}
+
+ g_free (text);
-+
+ return TRUE;
} else if (status == G_IO_STATUS_EOF) {
-- }
-+ }
+ }
g_free (text);
-