--- ray/src/common/error.c 1997/11/11 19:02:15 2.4 +++ ray/src/common/error.c 1997/12/02 15:54:44 2.5 @@ -30,8 +30,8 @@ char *emsg; return; ep = erract + etype; if (ep->pf != NULL) { - (*ep->pf)(ep->pre); - (*ep->pf)(emsg); + if (ep->pre[0]) (*ep->pf)(ep->pre); + if (emsg != NULL && emsg[0]) (*ep->pf)(emsg); if (etype == SYSTEM && errno > 0) { (*ep->pf)(": "); if (errno <= sys_nerr)