[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] do not return random data in svn_swig_pl_info_receiver

From: Olaf Hering <olh_at_suse.de>
Date: Wed, 23 Jan 2008 15:44:08 +0100

do not return random data in svn_swig_pl_info_receiver

---
 subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--- a/subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c
+++ b/subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c
@@ -1155,7 +1155,7 @@ svn_error_t *svn_swig_pl_info_receiver(v
     swig_type_info *infoinfo = _SWIG_TYPE("svn_info_t *");
 
     if (!SvOK((SV *)baton))
-        return;
+        return SVN_NO_ERROR;
 
     svn_swig_pl_callback_thunk(CALL_SV, baton, &result, "sSS", path, info,
                                infoinfo, pool, POOLINFO);
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-01-23 16:05:48 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.