You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2010/12/30 16:27:51 UTC

svn commit: r1053916 - /subversion/trunk/subversion/bindings/javahl/native/Prompter.cpp

Author: hwright
Date: Thu Dec 30 15:27:51 2010
New Revision: 1053916

URL: http://svn.apache.org/viewvc?rev=1053916&view=rev
Log:
* subversion/bindings/javahl/native/Prompter.cpp
  (askQuestion): Don't return 'false' in the place of a 'const char *'.

Modified:
    subversion/trunk/subversion/bindings/javahl/native/Prompter.cpp

Modified: subversion/trunk/subversion/bindings/javahl/native/Prompter.cpp
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl/native/Prompter.cpp?rev=1053916&r1=1053915&r2=1053916&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/javahl/native/Prompter.cpp (original)
+++ subversion/trunk/subversion/bindings/javahl/native/Prompter.cpp Thu Dec 30 15:27:51 2010
@@ -225,7 +225,7 @@ const char *Prompter::askQuestion(const 
   // Create a local frame for our references
   env->PushLocalFrame(LOCAL_FRAME_SIZE);
   if (JNIUtil::isJavaExceptionThrown())
-    return false;
+    return NULL;
 
   static jmethodID mid = 0;
   static jmethodID mid2 = 0;