diff options
author | Michael Vetter <jubalh@iodoru.org> | 2023-01-19 11:05:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-19 11:05:42 +0100 |
commit | 494512c25cabc2271b4132f19ad38fb8edee1afa (patch) | |
tree | e7131bb283b4731cbe0e1c595bfd7b3faa349c77 /tests/unittests/log/stub_log.c | |
parent | 78496d6226cb6f00ba3b14db479497ab3cfc8160 (diff) | |
parent | 99ffaf0a008cabbc0855b0d3b818ce9a2ad6bd62 (diff) | |
download | profani-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.c | 6 |
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 |