X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Furi.cpp;h=b15fe25db9aca76a27127f753ca05df65ac463ad;hb=c9e313bc594f40a86eed237dce222c0fc99c957f;hp=98ff2b471b0d87b3c9f3ae4dea8c449e83ae291e;hpb=c922647daed3dd022be11980063b5fb816d8c091;p=lttng-tools.git diff --git a/src/common/uri.cpp b/src/common/uri.cpp index 98ff2b471..b15fe25db 100644 --- a/src/common/uri.cpp +++ b/src/common/uri.cpp @@ -7,16 +7,16 @@ #define _LGPL_SOURCE #include -#include +#include #include #include #include -#include -#include -#include +#include +#include +#include -#include "uri.h" +#include "uri.hpp" #define LOOPBACK_ADDR_IPV4 "127.0.0.1" #define LOOPBACK_ADDR_IPV6 "::1" @@ -43,7 +43,7 @@ static const struct uri_proto proto_uri[] = { { .name = "tcp4", .leading_string = "tcp4://", .code = P_TCP, .type = LTTNG_TCP, .dtype = LTTNG_DST_IPV4 }, { .name = "tcp6", .leading_string = "tcp6://", .code = P_TCP6, .type = LTTNG_TCP, .dtype = LTTNG_DST_IPV6 }, /* Invalid proto marking the end of the array. */ - { 0 } + {} }; /*