diff options
| author | amelia squires <[email protected]> | 2025-09-30 18:10:02 -0500 |
|---|---|---|
| committer | amelia squires <[email protected]> | 2025-09-30 18:10:02 -0500 |
| commit | a67dc94484cf9869793fc1861914b800a6559a74 (patch) | |
| tree | 68e9a016380776a6a6d90159722d1514756a4929 /src/hash/pearson.c | |
| parent | 795284d3b173473003129882739f371f37059adb (diff) | |
fix indentation!!!
Diffstat (limited to 'src/hash/pearson.c')
| -rw-r--r-- | src/hash/pearson.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hash/pearson.c b/src/hash/pearson.c index d6a5d1b..74546a4 100644 --- a/src/hash/pearson.c +++ b/src/hash/pearson.c @@ -45,7 +45,7 @@ uint8_t pearson(uint8_t* aa, size_t len){ int l_setpearson(lua_State* L){
luaL_checktype(L, 1, LUA_TTABLE);
size_t len = lua_objlen(L,1);
-
+
if(len != 256) {
p_error("new table must have a length of 256");
exit(0);
@@ -55,7 +55,7 @@ int l_setpearson(lua_State* L){ lua_pushinteger(L,i+1);
lua_gettable(L,1);
-
+
pearson_table[i] = luaL_checknumber(L, -1);
lua_pop(L,1);
}
@@ -81,7 +81,7 @@ int l_pearson(lua_State* L){ char digest[8];
uint8_t u = pearson(a, len);
-
+
sprintf(digest,"%x",u);
lua_pushstring(L, digest);
|
