提交 b15f373c authored 作者: Steve Underwood's avatar Steve Underwood

Tweaks

上级 f7c6c907
......@@ -188,8 +188,8 @@ static int parse_tone(super_tone_rx_descriptor_t *desc, int tone_id, super_tone_
length*1000.0 + 0.5,
cycles);
*tree = treep;
tree = &(treep->next);
parse_tone(desc, tone_id, &(treep->nest), doc, ns, cur);
tree = &treep->next;
parse_tone(desc, tone_id, &treep->nest, doc, ns, cur);
}
/*endif*/
cur = cur->next;
......
......@@ -33,6 +33,7 @@
#include "config.h"
#endif
#include <inttypes.h>
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
......@@ -165,8 +166,8 @@ static int parse_tone(super_tone_tx_step_t **tree, xmlDocPtr doc, xmlNsPtr ns, x
length*1000.0 + 0.5,
cycles);
*tree = treep;
tree = &(treep->next);
parse_tone(&(treep->nest), doc, ns, cur);
tree = &treep->next;
parse_tone(&treep->nest, doc, ns, cur);
}
/*endif*/
cur = cur->next;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论