diff options
author | sijanec <anton@sijanec.eu> | 2021-04-07 23:15:16 +0200 |
---|---|---|
committer | sijanec <anton@sijanec.eu> | 2021-04-07 23:15:16 +0200 |
commit | a19e3705a228735eacadd713b28d49fe33bb726b (patch) | |
tree | 9c5fd6e62a24e7f893686b45da15ecda91b41a58 /src/log.c | |
parent | fuck (diff) | |
download | sear.c-a19e3705a228735eacadd713b28d49fe33bb726b.tar sear.c-a19e3705a228735eacadd713b28d49fe33bb726b.tar.gz sear.c-a19e3705a228735eacadd713b28d49fe33bb726b.tar.bz2 sear.c-a19e3705a228735eacadd713b28d49fe33bb726b.tar.lz sear.c-a19e3705a228735eacadd713b28d49fe33bb726b.tar.xz sear.c-a19e3705a228735eacadd713b28d49fe33bb726b.tar.zst sear.c-a19e3705a228735eacadd713b28d49fe33bb726b.zip |
Diffstat (limited to 'src/log.c')
-rw-r--r-- | src/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ int sc_push_log (unsigned char t, struct sc_cache * c, const char * ca, char * f if (pthread_rwlock_wrlock(lock)) return -3; if (c->logentries_sizeof <= c->logentries_length) - SC_BIGGER_ARRAY(c->logentries, sc_logentry); + SC_BIGGER_ARRAY(c->logentries, sc_logentry, 1); c->logentries_length++; size_t strlenm = strlen(m); size_t va_count = parse_printf_format(m, 0, NULL); |