X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/7d0efb37d87a2d87d675827b2fa5018677226c4f..c2ab5e8c4e1e5ac3bf28199711fcb8dc34bb42a9:/client/pm3_binlib.c?ds=sidebyside diff --git a/client/pm3_binlib.c b/client/pm3_binlib.c index 6360cb28..06fd39d2 100644 --- a/client/pm3_binlib.c +++ b/client/pm3_binlib.c @@ -120,8 +120,8 @@ static int l_unpack(lua_State *L) /** unpack(f,s, [init]) */ lua_pushnil(L); while (*f && done == 0) { - int c=*f++; - int N=1; + int c = *f++; + int N = 1; if (isdigit((int) (unsigned char) *f)) { N=0; @@ -233,15 +233,15 @@ static int l_unpack(lua_State *L) /** unpack(f,s, [init]) */ static int l_pack(lua_State *L) /** pack(f,...) */ { - int i=2; - const char *f=luaL_checkstring(L,1); - int swap=0; + int i = 2; + const char *f = luaL_checkstring(L,1); + int swap = 0; luaL_Buffer b; luaL_buffinit(L,&b); while (*f) { - int c=*f++; - int N=1; + int c = *f++; + int N = 1; if (isdigit((int) (unsigned char) *f)) { N=0;