about summary refs log tree commit diff stats
path: root/tests/unittests/log/stub_log.c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2023-01-19 11:05:42 +0100
committerGitHub <noreply@github.com>2023-01-19 11:05:42 +0100
commit494512c25cabc2271b4132f19ad38fb8edee1afa (patch)
treee7131bb283b4731cbe0e1c595bfd7b3faa349c77 /tests/unittests/log/stub_log.c
parent78496d6226cb6f00ba3b14db479497ab3cfc8160 (diff)
parent99ffaf0a008cabbc0855b0d3b818ce9a2ad6bd62 (diff)
downloadprofani-tty-494512c25cabc2271b4132f19ad38fb8edee1afa.tar.gz
Merge pull request #1780 from profanity-im/minor-improvements
Minor improvements
Diffstat (limited to 'tests/unittests/log/stub_log.c')
-rw-r--r--tests/unittests/log/stub_log.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unittests/log/stub_log.c b/tests/unittests/log/stub_log.c
index dfa2619a..18d05eca 100644
--- a/tests/unittests/log/stub_log.c
+++ b/tests/unittests/log/stub_log.c
@@ -67,10 +67,10 @@ get_log_file_location(void)
     return mock_ptr_type(char*);
 }
 
-log_level_t
-log_level_from_string(char* log_level)
+int
+log_level_from_string(char* log_level, log_level_t* level)
 {
-    return mock_type(log_level_t);
+    return mock_type(int);
 }
 
 void