diff --git a/src/system/detail/src/mgmtProfile.c b/src/system/detail/src/mgmtProfile.c index e7dbeaaa254da098dcdac5a15b6b0feccb5f32f2..c1cd98952311f4cda6bf97cf2448de244299c8b8 100644 --- a/src/system/detail/src/mgmtProfile.c +++ b/src/system/detail/src/mgmtProfile.c @@ -499,10 +499,9 @@ int mgmtKillConnection(char *qidstr, SConnObj *pConn) { uint32_t ip = inet_addr(temp); temp = chr + 1; - short port = htons(atoi(temp)); - + uint16_t port = htons(atoi(temp)); SAcctObj *pAcct = pConn->pAcct; - + pthread_mutex_lock(&pAcct->mutex); pConn = pAcct->pConn;