projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
62076e9
)
Merge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into...
author
Dennis Schafroth
<dennis@indexdata.com>
Thu, 3 Nov 2011 13:50:04 +0000
(14:50 +0100)
committer
Dennis Schafroth
<dennis@indexdata.com>
Thu, 3 Nov 2011 13:50:04 +0000
(14:50 +0100)
src/http_command.c
patch
|
blob
|
history
diff --git
a/src/http_command.c
b/src/http_command.c
index
f25f478
..
fc292bd
100644
(file)
--- a/
src/http_command.c
+++ b/
src/http_command.c
@@
-669,7
+669,7
@@
static void cmd_bytarget(struct http_channel *c)
if (!s)
return;
- if (block && strcmp("1",block) == 0)
+ if (block && !strcmp("1",block))
{
// if there is already a watch/block. we do not block this one
if (session_set_watch(s->psession, SESSION_WATCH_BYTARGET,