diff options
Diffstat (limited to '')
-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); |