diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-11-06 12:00:57 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-11-06 12:00:57 +0800 |
commit | 7b685f16677180dc454bba7d482c7e7818df45a6 (patch) | |
tree | 006be96311d7f42985a69e89d49b28375166eb43 /net/gnome-nettool/files/patch-src_nettool.c | |
parent | ca421beca82af07bcd00b3f6405efe1d85764949 (diff) | |
download | marcuscom-ports-7b685f16677180dc454bba7d482c7e7818df45a6.tar.gz marcuscom-ports-7b685f16677180dc454bba7d482c7e7818df45a6.tar.zst marcuscom-ports-7b685f16677180dc454bba7d482c7e7818df45a6.zip |
- Clean net
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5053 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net/gnome-nettool/files/patch-src_nettool.c')
-rw-r--r-- | net/gnome-nettool/files/patch-src_nettool.c | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/net/gnome-nettool/files/patch-src_nettool.c b/net/gnome-nettool/files/patch-src_nettool.c deleted file mode 100644 index cae4f648f..000000000 --- a/net/gnome-nettool/files/patch-src_nettool.c +++ /dev/null @@ -1,37 +0,0 @@ ---- 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> -@@ -357,6 +358,10 @@ - len, NULL); - } - -+ g_free (text); -+ -+ return TRUE; -+ - } else if (status == G_IO_STATUS_AGAIN) { - char buf[1]; - -@@ -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); -- -- return TRUE; - } - - /* The condition is not G_IO_HUP | G_IO_ERR | G_IO_NVAL, so |