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 da...@apache.org on 2002/03/19 11:44:13 UTC
cvs commit: tcl-websh/src/generic log.c
davidw 02/03/19 02:44:13
Modified: src/generic log.c
Log:
* generic/log.c (destroyLogPlugIn): Send something to stderr if there
is no plugin.
Revision Changes Path
1.8 +2 -4 tcl-websh/src/generic/log.c
Index: log.c
===================================================================
RCS file: /home/cvs/tcl-websh/src/generic/log.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- log.c 7 Mar 2002 18:55:40 -0000 1.7
+++ log.c 19 Mar 2002 10:44:12 -0000 1.8
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and
* redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * @(#) $Id: log.c,v 1.7 2002/03/07 18:55:40 davidw Exp $
+ * @(#) $Id: log.c,v 1.8 2002/03/19 10:44:12 davidw Exp $
*
*/
@@ -829,10 +829,8 @@
LogPlugIn *logPlugIn = (LogPlugIn *) plugIn;
- /* fixme: destroyLogPlugIn - have to assume that all channels are closed */
-
- /* boh... */
if (logPlugIn != NULL) {
+ fprintf(stderr, "destroyLogPlugin: plugin doesn't exist!\n");
WebFreeIfNotNull(logPlugIn);
}
return TCL_OK;
---------------------------------------------------------------------
To unsubscribe, e-mail: websh-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-cvs-help@tcl.apache.org