You are viewing a plain text version of this content. The canonical link for it is here.
Posted to websh-cvs@tcl.apache.org by ro...@apache.org on 2009/06/26 16:24:45 UTC

svn commit: r788716 - /tcl/websh/trunk/src/generic/logutl.c

Author: ronnie
Date: Fri Jun 26 14:24:45 2009
New Revision: 788716

URL: http://svn.apache.org/viewvc?rev=788716&view=rev
Log:
- properly return TCL_ERROR in sendMsgToDestList

Modified:
    tcl/websh/trunk/src/generic/logutl.c

Modified: tcl/websh/trunk/src/generic/logutl.c
URL: http://svn.apache.org/viewvc/tcl/websh/trunk/src/generic/logutl.c?rev=788716&r1=788715&r2=788716&view=diff
==============================================================================
--- tcl/websh/trunk/src/generic/logutl.c (original)
+++ tcl/websh/trunk/src/generic/logutl.c Fri Jun 26 14:24:45 2009
@@ -129,7 +129,7 @@
 
     if ((interp == NULL) || (logDests == NULL) ||
 	(logLevel == NULL) || (msg == NULL))
-	return;
+	return TCL_ERROR;
 
     for (i = 0; i < logData->destSize; i++) {
 



---------------------------------------------------------------------
To unsubscribe, e-mail: websh-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-cvs-help@tcl.apache.org