Adding thread index to the error message

Former-commit-id: e02120cdf7ca5adec58aa8e84aece89b01d6b751
This commit is contained in:
Kajaruban Surendran 2020-11-25 19:29:10 +00:00 committed by John Sully
parent e53d00c320
commit e62592666c

View File

@ -2283,7 +2283,9 @@ static int updateMaxclients(long long val, long long prev, const char **err) {
});
if (res != AE_OK){
*err = "Failed to set the setsize for this thread.";
static char msg[128];
sprintf(msg, "Failed to post the request to change setsize for Thread %d", iel);
*err = msg;
return 0;
}
}