Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
  • Loading branch information
FedeDP committed Sep 30, 2024
1 parent affc009 commit 98d8dfa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 3 additions & 4 deletions cmake/modules/falcosecurity-libs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,9 @@ else()
# version (or branch, or commit) just pass the variable - ie., `cmake
# -DFALCOSECURITY_LIBS_VERSION=dev ..`
if(NOT FALCOSECURITY_LIBS_VERSION)
set(FALCOSECURITY_LIBS_VERSION "8baec4b102662200b3a382722f01276748125e0f")
set(FALCOSECURITY_LIBS_CHECKSUM
"SHA256=e2750d337f7e28780bd7b4d2efa6ea7a99f43aed2815fd0f7529bfac1a10f429"
)
set(FALCOSECURITY_LIBS_VERSION "bef6c42caf5bf205af1546b0e7fd78a087b695d5")
# set(FALCOSECURITY_LIBS_CHECKSUM
# "SHA256=e2750d337f7e28780bd7b4d2efa6ea7a99f43aed2815fd0f7529bfac1a10f429" )
endif()

# cd /path/to/build && cmake /path/to/source
Expand Down
4 changes: 4 additions & 0 deletions userspace/engine/logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ void falco_logger::log(falco_logger::level priority, const std::string&& msg) {
return;
}

if(msg.empty()) {
return;
}

std::string copy = msg;

#ifndef _WIN32
Expand Down

0 comments on commit 98d8dfa

Please sign in to comment.