clang-tidy: apply suggested fixes
[lttng-tools.git] / src / common / sessiond-comm / inet6.cpp
index 289e19e98df67b3192095da8d4df50c4197b99cb..0d1b6f15ba02611024e61340f76f3027ae1d1011 100644 (file)
@@ -97,7 +97,7 @@ static int connect_no_timeout(struct lttcomm_sock *sock)
 
 static int connect_with_timeout(struct lttcomm_sock *sock)
 {
-       unsigned long timeout = lttcomm_get_network_timeout();
+       const unsigned long timeout = lttcomm_get_network_timeout();
        int ret, flags, connect_ret;
        struct timespec orig_time, cur_time;
        unsigned long diff_ms;
This page took 0.024702 seconds and 4 git commands to generate.