projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Build fix: missing initializer for member 'rotation_positions'
[lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
backward-compatibility-group-by.cpp
diff --git
a/src/bin/lttng-relayd/backward-compatibility-group-by.cpp
b/src/bin/lttng-relayd/backward-compatibility-group-by.cpp
index f0454a56b70a0c2db24a632323d8df62f462c525..78f8a1971a190814919007e98f59ab33b6bb8ba9 100644
(file)
--- a/
src/bin/lttng-relayd/backward-compatibility-group-by.cpp
+++ b/
src/bin/lttng-relayd/backward-compatibility-group-by.cpp
@@
-5,17
+5,17
@@
*
*/
*
*/
-#include "common/time.h"
+#include "common/time.h
pp
"
#include <regex.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <regex.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <common/common.h>
-#include <common/defaults.h>
-#include <common/utils.h>
+#include <common/common.h
pp
>
+#include <common/defaults.h
pp
>
+#include <common/utils.h
pp
>
-#include "backward-compatibility-group-by.h"
+#include "backward-compatibility-group-by.h
pp
"
#define DATETIME_REGEX \
".*-[1-2][0-9][0-9][0-9][0-1][0-9][0-3][0-9]-[0-2][0-9][0-5][0-9][0-5][0-9]$"
#define DATETIME_REGEX \
".*-[1-2][0-9][0-9][0-9][0-1][0-9][0-3][0-9]-[0-2][0-9][0-5][0-9][0-5][0-9]$"
@@
-172,7
+172,7
@@
char *backward_compat_group_by_session(const char *path,
goto error_regex;
}
} else {
goto error_regex;
}
} else {
- datetime =
(char *) zmalloc
(DATETIME_STR_LEN);
+ datetime =
calloc<char>
(DATETIME_STR_LEN);
if (!datetime) {
PERROR("Failed to allocate DATETIME string");
goto error;
if (!datetime) {
PERROR("Failed to allocate DATETIME string");
goto error;
This page took
0.026464 seconds
and
4
git commands to generate.