TD-2662
This commit is contained in:
parent
3202b93234
commit
87f1490a28
|
@ -365,7 +365,7 @@ static void tscProcessAsyncError(SSchedMsg *pMsg) {
|
||||||
void (*fp)() = pMsg->ahandle;
|
void (*fp)() = pMsg->ahandle;
|
||||||
terrno = *(int32_t*) pMsg->msg;
|
terrno = *(int32_t*) pMsg->msg;
|
||||||
tfree(pMsg->msg);
|
tfree(pMsg->msg);
|
||||||
(*fp)(pMsg->thandle, NULL, *(int32_t*)pMsg->msg);
|
(*fp)(pMsg->thandle, NULL, terrno);
|
||||||
}
|
}
|
||||||
|
|
||||||
void tscQueueAsyncError(void(*fp), void *param, int32_t code) {
|
void tscQueueAsyncError(void(*fp), void *param, int32_t code) {
|
||||||
|
|
Loading…
Reference in New Issue