ussd_proxy: add debug output when session is destroyed

This commit is contained in:
Sergey Kostanbaev
2015-10-28 13:33:52 +03:00
committed by Ivan Kluchnikov
parent 2b5eb8ddb0
commit 0ce3516a47

View File

@@ -360,6 +360,12 @@ static void operation_destroy(operation_t* op)
llist_del(&op->list);
op->ctx->operation_count--;
fprintf(stderr, "--- operation %*.s from %s destroyed (sessions: %d)\n",
op->ussd.rigester_msg.ussd_text_len,
op->ussd.rigester_msg.ussd_text,
op->ussd.extention,
op->ctx->operation_count);
/* release operation context information */
su_free(op->ctx->home, op);
}