Updated to reflect the shange to the way servers are stored within services

This commit is contained in:
Mark Riddoch
2015-02-04 11:17:29 +00:00
parent 093b8cf02f
commit add315d795

View File

@ -706,7 +706,7 @@ int len, actual_len, col_len, seqno, ncols, i;
strncpy((char *)ptr, column, col_len); // Result string
ptr += col_len;
sprintf(column, "%d", router->service->databases->port);
sprintf(column, "%d", router->service->dbref->server->port);
col_len = strlen(column);
*ptr++ = col_len; // Length of result string
strncpy((char *)ptr, column, col_len); // Result string