diff options
author | Sergiu Ivanov <unlimitedscolobb@gmail.com> | 2008-11-07 22:33:49 +0200 |
---|---|---|
committer | Sergiu Ivanov <unlimitedscolobb@gmail.com> | 2008-11-07 22:33:49 +0200 |
commit | 59f4d4d2b67028c01f41ea0de0f12934b4fad07b (patch) | |
tree | ea37e0cec351c6cb835bfbb6f137036af0a1f75f | |
parent | 2ca81a7c1717477766d7e3882e13f4b414e2fead (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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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?*/ |