You are viewing a plain text version of this content. The canonical link for it is here.
Posted to websh-dev@tcl.apache.org by Ronnie Brunner <ro...@netcetera.ch> on 2002/03/20 16:12:30 UTC

un-obvious log.c change

What does the fprintf do there and why does it say plugin does NOT
exist? (I'd just delete this line. If anything, at least put the
fprintf statement in the else clause, no?)

int destroyLogPlugIn(void *plugIn, void *dum)
{
  LogPlugIn *logPlugIn = (LogPlugIn *) plugIn;

  if (logPlugIn != NULL) {
    fprintf(stderr, "destroyLogPlugin: plugin doesn't exist!\n");
    WebFreeIfNotNull(logPlugIn);
  }
  return TCL_OK;
}

------------------------------------------------------------------------
Ronnie Brunner                               ronnie.brunner@netcetera.ch
Netcetera AG, 8040 Zuerich    phone +41 1 247 79 79 Fax: +41 1 247 70 75

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


Re: un-obvious log.c change

Posted by "David N. Welton" <da...@dedasys.com>.
OOps...stupid commit of the week:-( I will fix it soon.

-- 
David N. Welton
   Consulting: http://www.dedasys.com/
     Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
   Apache Tcl: http://tcl.apache.org/

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