X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=www%2Fwtcl.c;h=fc641f90afb886a3edf0f80122ce1ce0f179a22c;hb=a6e5ecf2a6d6dedf266c5f9d6bc2447a528b199e;hp=bb2c34dfaf6884368520804cc87e5bb62936170a;hpb=6e37e8e91bf35cb14c930e8988085cf78f11029a;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