input.c: use renamed function

This commit is contained in:
Peter McGoron 2021-08-09 13:41:50 -04:00
parent 1b472ce59e
commit 6ec1d0a8ae
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ enum libscomm_input_r libscomm_read(struct libscomm_input *in,
switch (c) { switch (c) {
case '\n': case '\n':
in->intbuf[in->len] = 0; in->intbuf[in->len] = 0;
return parse(in, line); return libscomm_parse(in, line);
default: default:
in->intbuf[in->len++] = c; in->intbuf[in->len++] = c;
if (in->len == LIBSCOMM_MAXBUF) if (in->len == LIBSCOMM_MAXBUF)