From 1f643d36f1ac1ca8c5aae6c7ba9c70c2a56c30fd Mon Sep 17 00:00:00 2001 From: zolliker Date: Fri, 29 Apr 2011 14:12:04 +0000 Subject: [PATCH] - bug fix --- tecs/tecs_serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tecs/tecs_serial.c b/tecs/tecs_serial.c index 3f94722..dc1adec 100644 --- a/tecs/tecs_serial.c +++ b/tecs/tecs_serial.c @@ -74,7 +74,7 @@ SerChannel *SerOpen(const char *hostPort, int msecTmo, int (*idleHdl)(int,int)) time(&t1); str_copy(hbuf, hostPort); p=str_split(host, hbuf, ':'); - assert(p!=NULL); + ERR_P(p); c=str_split(cport, p, '/'); if (msecTmo==0) msecTmo=5000; if (c!=NULL) {