X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=www%2Fwtcl.c;fp=www%2Fwtcl.c;h=fc641f90afb886a3edf0f80122ce1ce0f179a22c;hb=b443634fbd412cea15ea527188c3e241bb1edf21;hp=bb2c34dfaf6884368520804cc87e5bb62936170a;hpb=6315a552d51ac08b60d25d8500da5574a83ba530;p=egate.git
diff --git a/www/wtcl.c b/www/wtcl.c
index bb2c34d..fc641f9 100644
--- a/www/wtcl.c
+++ b/www/wtcl.c
@@ -41,7 +41,11 @@
* USE OR PERFORMANCE OF THIS SOFTWARE.
*
* $Log: wtcl.c,v $
- * Revision 1.9 1995/11/07 14:57:00 adam
+ * Revision 1.10 1995/11/08 16:14:35 adam
+ * Many improvements and bug fixes.
+ * First version that ran on dtbsun.
+ *
+ * Revision 1.9 1995/11/07 14:57:00 adam
* Work on search in multiple targets.
* New wtcl command: wlog.
* Optional timeout parameter to zwait.
@@ -270,6 +274,8 @@ static void *do_create (WCLIENT wcl, void *args)
static void report_error (struct tcl_info *p, int errorLine,
const char *pre, const char *msg)
{
+ if (!msg)
+ msg = "";
gw_log (GW_LOG_WARN, mod, "%s %d %s", pre, errorLine, msg);
wo_printf (p->wcl, "\n