Skip to content
Snippets Groups Projects
Commit 9032e390 authored by Corentin Chary's avatar Corentin Chary Committed by Corentin Chary
Browse files

pkcs11-daemon: display the right socket

parent 67793ba7
No related branches found
No related tags found
No related merge requests found
...@@ -867,7 +867,7 @@ static CK_RV rpc_C_Finalize(CallState * cs) ...@@ -867,7 +867,7 @@ static CK_RV rpc_C_Finalize(CallState * cs)
for (ds = pkcs11_dispatchers; ds; ds = next) { for (ds = pkcs11_dispatchers; ds; ds = next) {
CallState *c = &ds->cs; CallState *c = &ds->cs;
next = ds->next; next = ds->next;
if (c->appid != cs->appid) if (c->appid != cs->appid)
continue ; continue ;
...@@ -876,7 +876,7 @@ static CK_RV rpc_C_Finalize(CallState * cs) ...@@ -876,7 +876,7 @@ static CK_RV rpc_C_Finalize(CallState * cs)
if (c->req && if (c->req &&
c->req->call_id == GCK_RPC_CALL_C_WaitForSlotEvent) { c->req->call_id == GCK_RPC_CALL_C_WaitForSlotEvent) {
gck_rpc_log("Sending interuption signal to %d\n", gck_rpc_log("Sending interuption signal to %d\n",
cs->sock); ds->socket);
if (ds->socket) if (ds->socket)
shutdown(ds->socket, SHUT_RDWR); shutdown(ds->socket, SHUT_RDWR);
//pthread_kill(ds->thread, SIGINT); //pthread_kill(ds->thread, SIGINT);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment