X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fhttp_command.c;h=2e8a6eadb540e3d8dc69499f3ce6f7017096598d;hb=bbefc8e129c52134c62405c693846876541aac0e;hp=cf7ab9b24fa119a3b747514026f872d5f3c43106;hpb=74f3e867802e2f6b4e1f803b2e98c1e886a515bf;p=pazpar2-moved-to-github.git diff --git a/src/http_command.c b/src/http_command.c index cf7ab9b..2e8a6ea 100644 --- a/src/http_command.c +++ b/src/http_command.c @@ -825,7 +825,9 @@ static void cmd_bytarget(struct http_channel *c) return; } } + session_enter_ro(s->psession, "cmd_bytarget"); bytarget_response(c, s, status_message); + session_leave_ro(s->psession, "cmd_bytarget"); release_session(c, s); }