- bug fix
This commit is contained in:
@ -74,7 +74,7 @@ SerChannel *SerOpen(const char *hostPort, int msecTmo, int (*idleHdl)(int,int))
|
|||||||
time(&t1);
|
time(&t1);
|
||||||
str_copy(hbuf, hostPort);
|
str_copy(hbuf, hostPort);
|
||||||
p=str_split(host, hbuf, ':');
|
p=str_split(host, hbuf, ':');
|
||||||
assert(p!=NULL);
|
ERR_P(p);
|
||||||
c=str_split(cport, p, '/');
|
c=str_split(cport, p, '/');
|
||||||
if (msecTmo==0) msecTmo=5000;
|
if (msecTmo==0) msecTmo=5000;
|
||||||
if (c!=NULL) {
|
if (c!=NULL) {
|
||||||
|
Reference in New Issue
Block a user