diff options
| author | ame <[email protected]> | 2023-12-04 01:19:57 -0600 |
|---|---|---|
| committer | ame <[email protected]> | 2023-12-04 01:19:57 -0600 |
| commit | 843d6ce352bd0fbedb9b0945a19747ed409ebd46 (patch) | |
| tree | 6c6b41e10754e31487c7e9f9f1b655ccea913ecd /src/io.c | |
| parent | 7832bc32b4933696e7a34b180bbba46b0c98b858 (diff) | |
fix the uh
Diffstat (limited to 'src/io.c')
| -rw-r--r-- | src/io.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -28,6 +28,7 @@ int l_readfile(lua_State* L){ out[count] = ch; count++; } + out[count] = '\0'; lua_pushstring(L, out); free(out); |
