openbsd-ports/mail/sylpheed-claws/patches/patch-src_plugins_spamassassin_spamassassin_c
naddy 66c152c1f0 Update to 1.9.6 (GTK2) and major overhaul.
From: Jim Geovedi <jim@corebsd.or.id> with some assistance by yours truly.
2005-04-12 20:29:26 +00:00

13 lines
470 B
Plaintext

$OpenBSD: patch-src_plugins_spamassassin_spamassassin_c,v 1.1 2005/04/12 20:29:26 naddy Exp $
--- src/plugins/spamassassin/spamassassin.c.orig Sun Apr 3 15:31:09 2005
+++ src/plugins/spamassassin/spamassassin.c Sun Apr 3 15:31:46 2005
@@ -296,7 +296,7 @@ gint plugin_init(gchar **error)
return -1;
}
- username = g_get_user_name();
+ (gchar *)username = g_get_user_name();
if (username == NULL) {
*error = g_strdup("Failed to get username");
return -1;