projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: sessiond: crash when sending data_pending to an active session
[lttng-tools.git]
/
src
/
common
/
ini-config
/
ini-config.cpp
diff --git
a/src/common/ini-config/ini-config.cpp
b/src/common/ini-config/ini-config.cpp
index a9b65960b591081bd29e3bf333927c3b5b3f5559..ebfe153c276c593870df422ea5ea0c9ed6cad81a 100644
(file)
--- a/
src/common/ini-config/ini-config.cpp
+++ b/
src/common/ini-config/ini-config.cpp
@@
-46,7
+46,7
@@
static int config_entry_handler_filter(struct handler_filter_args *args,
}
if (args->section) {
}
if (args->section) {
- if (strcmp(args->section, section)) {
+ if (strcmp(args->section, section)
!= 0
) {
goto end;
}
}
goto end;
}
}
@@
-63,7
+63,7
@@
int config_get_section_entries(const char *override_path,
{
int ret = 0;
const char *path;
{
int ret = 0;
const char *path;
- FILE *config_file =
NULL
;
+ FILE *config_file =
nullptr
;
struct handler_filter_args filter = { section, handler, user_data };
/* First, try system-wide conf. file. */
struct handler_filter_args filter = { section, handler, user_data };
/* First, try system-wide conf. file. */
This page took
0.023301 seconds
and
4
git commands to generate.