summaryrefslogtreecommitdiff
path: root/chat/gg2/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'chat/gg2/patches/patch-ae')
-rw-r--r--chat/gg2/patches/patch-ae44
1 files changed, 44 insertions, 0 deletions
diff --git a/chat/gg2/patches/patch-ae b/chat/gg2/patches/patch-ae
new file mode 100644
index 00000000000..cd0edb9cc5d
--- /dev/null
+++ b/chat/gg2/patches/patch-ae
@@ -0,0 +1,44 @@
+$NetBSD: patch-ae,v 1.1 2005/01/17 20:15:28 kristerw Exp $
+
+--- src/plugins/gadu_gadu/gadu_gadu_plugin.c.orig Mon Jan 17 20:50:35 2005
++++ src/plugins/gadu_gadu/gadu_gadu_plugin.c Mon Jan 17 20:52:52 2005
+@@ -422,6 +422,9 @@
+ uint32_t *uins;
+ GGaduMsg *msg = NULL;
+ gint i, j;
++ GSList *list;
++ GSList *us;
++ gchar *recipients_line;
+
+ /* w przypadku bledu/utraty polaczenia postap tak jak w przypadku disconnect */
+ if (!session || !(e = gg_watch_fd(session)) || (condition & G_IO_ERR) ||
+@@ -585,9 +588,9 @@
+
+ }
+
+- GSList *list = ggadu_repo_get_as_slist("gadu-gadu", REPO_VALUE_CONTACT);
+- GSList *us = list;
+- gchar *recipients_line = NULL;
++ list = ggadu_repo_get_as_slist("gadu-gadu", REPO_VALUE_CONTACT);
++ us = list;
++ recipients_line = NULL;
+
+ while (us)
+ {
+@@ -696,6 +699,7 @@
+
+ if (k)
+ {
++ gchar *status;
+ ip_addr.s_addr = n->remote_ip;
+ if (inet_ntoa(ip_addr) && (ggadu_strcasecmp(inet_ntoa(ip_addr), "0.0.0.0")))
+ {
+@@ -714,7 +718,7 @@
+
+ /* Zapiszmy sobie zmiane opisu do pliku historii */
+
+- gchar *status = NULL;
++ status = NULL;
+ if ((k->status == GG_STATUS_AVAIL) || (k->status == GG_STATUS_AVAIL_DESCR))
+ status = g_strdup_printf("avail");
+ else if ((k->status == GG_STATUS_BUSY) || (k->status == GG_STATUS_BUSY_DESCR))