Module Name: src
Committed By: salazar
Date: Thu Sep 8 21:19:44 UTC 2016
Modified Files:
src/external/mit/lua/dist/src: loslib.c
Log Message:
fix code style issue
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/mit/lua/dist/src/loslib.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/mit/lua/dist/src/loslib.c
diff -u src/external/mit/lua/dist/src/loslib.c:1.7 src/external/mit/lua/dist/src/loslib.c:1.8
--- src/external/mit/lua/dist/src/loslib.c:1.7 Thu Sep 8 02:55:50 2016
+++ src/external/mit/lua/dist/src/loslib.c Thu Sep 8 21:19:44 2016
@@ -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 @@ static const char *checkoption (lua_Stat
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 */