aboutsummaryrefslogtreecommitdiff
path: root/src/lpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lpm.c')
-rw-r--r--src/lpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpm.c b/src/lpm.c
index 595ec8c..e287808 100644
--- a/src/lpm.c
+++ b/src/lpm.c
@@ -918,7 +918,7 @@ static int lpm_extract(lua_State* L) {
if (current_read[strlen(last_read) + read_size - 1] != '\n')
strcpy(last_read, strtok_r(current_read, "\n", l_line_ptr));
else
- bzero(last_read, strlen(last_read));
+ memset(last_read, 0, strlen(last_read));
}
}