Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Feb 2014 00:57:07 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r262463 - head/lib/libiconv_modules/VIQR
Message-ID:  <201402250057.s1P0v7Ku011874@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Tue Feb 25 00:57:06 2014
New Revision: 262463
URL: http://svnweb.freebsd.org/changeset/base/262463

Log:
  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

Modified:
  head/lib/libiconv_modules/VIQR/citrus_viqr.c

Modified: head/lib/libiconv_modules/VIQR/citrus_viqr.c
==============================================================================
--- head/lib/libiconv_modules/VIQR/citrus_viqr.c	Mon Feb 24 23:58:07 2014	(r262462)
+++ head/lib/libiconv_modules/VIQR/citrus_viqr.c	Tue Feb 25 00:57:06 2014	(r262463)
@@ -457,18 +457,16 @@ _citrus_VIQR_encoding_module_init(_VIQRE
 			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);
 		}
 	}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402250057.s1P0v7Ku011874>