From dbcdf0e38ca765173d061e75fa4a3df886815602 Mon Sep 17 00:00:00 2001 From: Douglas Clowes Date: Mon, 21 May 2007 14:17:27 +1000 Subject: [PATCH] do not use port if it was not supplied r1970 | dcl | 2007-05-21 14:17:27 +1000 (Mon, 21 May 2007) | 2 lines --- asyncqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asyncqueue.c b/asyncqueue.c index 5139c423..99df7b50 100644 --- a/asyncqueue.c +++ b/asyncqueue.c @@ -678,7 +678,7 @@ static pAsyncQueue AQ_Create(const char* host, const char* port) self = (pAsyncQueue) FindCommandData(pServ->pSics, host, "AsyncQueue"); /* try host and port */ - if (self == NULL) { + if (self == NULL && port) { int port_no = atoi(port); if (port_no == 0) { struct servent *sp=NULL;