summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergiu Ivanov <unlimitedscolobb@gmail.com>2008-11-07 22:33:49 +0200
committerSergiu Ivanov <unlimitedscolobb@gmail.com>2008-11-07 22:33:49 +0200
commit59f4d4d2b67028c01f41ea0de0f12934b4fad07b (patch)
treeea37e0cec351c6cb835bfbb6f137036af0a1f75f
parent2ca81a7c1717477766d7e3882e13f4b414e2fead (diff)
node_set_translators now sets multiple translators correctly.
node_set_translators used to count the translators in the list and set the first one so many times as there were translators. This bug is killed now.
-rw-r--r--node.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/node.c b/node.c
index d21e2002b..a452571ff 100644
--- a/node.c
+++ b/node.c
@@ -890,6 +890,9 @@ node_set_translators
ext = put_in_hurd(str);
if(!ext)
return ENOMEM;
+
+ /*move str to the next translator in the list*/
+ str += strlen(str) + 1;
/*TODO: Better argument-parsing?*/