X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/cf08edc97cfdb89ae4c87260ceaed150364bfbc8..deba67ab57d820d7201d05e9b57905b91256bc94:/client/pm3_binlib.c 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;