CVS: plugins/perl/src perl_plugin.c,1.19.2.8,1.19.2.9

Holger Berndt <[email protected]>
Newsgroups gmane.mail.sylpheed.claws.cvs
Message-ID <[email protected]>
Update of /cvsroot/sylpheed-claws/plugins/perl/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15730/src

Modified Files:
      Tag: gtk2
	perl_plugin.c 
Log Message:
Check for NULL in hooks.


Index: perl_plugin.c
===================================================================
RCS file: /cvsroot/sylpheed-claws/plugins/perl/src/perl_plugin.c,v
retrieving revision 1.19.2.8
retrieving revision 1.19.2.9
diff -u -r1.19.2.8 -r1.19.2.9
--- perl_plugin.c	24 Feb 2006 23:05:32 -0000	1.19.2.8
+++ perl_plugin.c	7 May 2006 18:16:03 -0000	1.19.2.9
@@ -1958,6 +1958,8 @@
 {
   int retry;
 
+  g_return_val_if_fail(source != NULL, FALSE);
+
   mail_filtering_data = (MailFilteringData *) source;
   msginfo = mail_filtering_data->msginfo;
   stop_filtering = FALSE;



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.