Revert 262462 and 262461, they didn't solve the problem, in

fact I should actually waited the build to be finished before
committing.

A proper fix would be committed once my test build passes.

Pointy hat to:	delphij
This commit is contained in:
Xin LI 2014-02-25 00:57:06 +00:00
parent 9585cd10d4
commit 882e4d2b26
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=262463

View File

@ -457,18 +457,16 @@ _citrus_VIQR_encoding_module_init(_VIQREncodingInfo * __restrict ei,
return (errnum);
}
}
if (mnemonic_ext > 0) {
for (i = 0; i < mnemonic_ext_size; ++i) {
p = &mnemonic_ext[i];
n = strlen(p->name);
if (ei->mb_cur_max < n)
ei->mb_cur_max = n;
errnum = mnemonic_append_child(ei->mroot,
p->name, p->value, ei->invalid);
if (errnum != 0) {
_citrus_VIQR_encoding_module_uninit(ei);
return (errnum);
}
for (i = 0; i < mnemonic_ext_size; ++i) {
p = &mnemonic_ext[i];
n = strlen(p->name);
if (ei->mb_cur_max < n)
ei->mb_cur_max = n;
errnum = mnemonic_append_child(ei->mroot,
p->name, p->value, ei->invalid);
if (errnum != 0) {
_citrus_VIQR_encoding_module_uninit(ei);
return (errnum);
}
}