Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/lua/dist/src fix code style issue



details:   https://anonhg.NetBSD.org/src/rev/358faa14beb7
branches:  trunk
changeset: 347647:358faa14beb7
user:      salazar <salazar%NetBSD.org@localhost>
date:      Thu Sep 08 21:19:44 2016 +0000

description:
fix code style issue

diffstat:

 external/mit/lua/dist/src/loslib.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 7317ae12aec1 -r 358faa14beb7 external/mit/lua/dist/src/loslib.c
--- a/external/mit/lua/dist/src/loslib.c        Thu Sep 08 20:57:20 2016 +0000
+++ b/external/mit/lua/dist/src/loslib.c        Thu Sep 08 21:19:44 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: loslib.c,v 1.7 2016/09/08 02:55:50 salazar Exp $       */
+/*     $NetBSD: loslib.c,v 1.8 2016/09/08 21:19:44 salazar Exp $       */
 
 /*
 ** Id: loslib.c,v 1.64 2016/04/18 13:06:55 roberto Exp 
@@ -264,7 +264,7 @@
   int oplen = 1;
   int convlen = (int)strlen(conv);
   for (option = LUA_STRFTIMEOPTIONS; *option != '\0' && oplen <= convlen; option += oplen) {
-  if (*option == '|')  /* next block? */
+    if (*option == '|')  /* next block? */
       oplen++;  /* next length */
     else if (memcmp(conv, option, oplen) == 0) {  /* match? */
       memcpy(buff, conv, oplen);  /* copy valid option to buffer */



Home | Main Index | Thread Index | Old Index