Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/woip
diff options
context:
space:
mode:
authorMartin Langhoff <martin@laptop.org>2010-11-04 14:47:30 (GMT)
committer Martin Langhoff <martin@laptop.org>2010-11-04 14:47:30 (GMT)
commiteb7ad9bc13003f260024aa407e59df4e1e72f37e (patch)
tree12ac01eaf77cd448694bd374e3f4fc2883a881c5 /woip
parent6af768c3b75e0c790fbd6ce09f9f83105948323b (diff)
parenteb2a9e2fe31195f079cbe22c1b4d03cc61c7c5b5 (diff)
Merge commit 'origin/0.84'
Diffstat (limited to 'woip')
-rw-r--r--woip/c/debug.h2
-rw-r--r--woip/c/indexer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/woip/c/debug.h b/woip/c/debug.h
index efc871a..78d1740 100644
--- a/woip/c/debug.h
+++ b/woip/c/debug.h
@@ -23,7 +23,7 @@
#error I want GNU C plz
#endif
-#ifdef DEBUG
+#if 0
static bool debug = true;
#else
static bool debug = false;
diff --git a/woip/c/indexer.c b/woip/c/indexer.c
index efda166..015b0da 100644
--- a/woip/c/indexer.c
+++ b/woip/c/indexer.c
@@ -27,7 +27,7 @@ void insert(struct node *node, char *str, uint32_t block) {
insert(NODE(NEXT_NODE(node, cmp)), str, block);
} else if(!(cmp == 0 && !str[1])) {
/* unless at end of string, and all matches */
- NEXT_NODE(node, cmp) = ++storepos;
+ //NEXT_NODE(node, cmp) = ++storepos;
insert(NODE(storepos), cmp ? str : str + 1, block);
} else {
node->block = BLOCK_MASK(block);