|
@@ -33,7 +33,7 @@ mock_clean_saved_logs(void)
|
|
|
saved_logs = NULL;
|
|
|
}
|
|
|
|
|
|
-char *
|
|
|
+const char *
|
|
|
mock_saved_log_at(int ix)
|
|
|
{
|
|
|
int saved_log_count = mock_saved_log_number();
|
|
@@ -76,6 +76,7 @@ mock_saved_logs(void)
|
|
|
void
|
|
|
mock_saving_logv(int severity, log_domain_mask_t domain, const char *funcname, const char *suffix, const char *format, va_list ap)
|
|
|
{
|
|
|
+ (void)domain;
|
|
|
char *buf = tor_malloc_zero(10240);
|
|
|
int n;
|
|
|
n = tor_vsnprintf(buf,10240,format,ap);
|