[libinline-java-perl] 02/07: Correct croak() call

Jonas Smedegaard dr at jones.dk
Thu Feb 26 11:43:48 UTC 2015


This is an automated email from the git hooks/post-receive script.

js pushed a commit to tag 0.56
in repository libinline-java-perl.

commit 85197c8d1fbcabc8f9622659008520d261f3ca74
Author: Ed J <mohawk2 at users.noreply.github.com>
Date:   Mon Nov 17 03:17:42 2014 +0000

    Correct croak() call
---
 Java/JNI.xs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Java/JNI.xs b/Java/JNI.xs
index 249b747..5dadcd8 100644
--- a/Java/JNI.xs
+++ b/Java/JNI.xs
@@ -48,7 +48,7 @@ void check_exception_from_perl(JNIEnv *env, char *msg){
 	if ((*(env))->ExceptionCheck(env)){
 		(*(env))->ExceptionDescribe(env) ;
 		(*(env))->ExceptionClear(env) ;
-		croak(msg) ;
+		croak("%s", msg) ;
 	}
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libinline-java-perl.git



More information about the Pkg-perl-cvs-commits mailing list