- bug fix

This commit is contained in:
zolliker
2011-04-29 14:12:04 +00:00
parent c856e82af8
commit 1f643d36f1

View File

@ -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) {