From d1d6a14080ee7e19b4fbecdfb5c89d271a5bb12f Mon Sep 17 00:00:00 2001 From: winckel <winckel@eurecom.fr> Date: Fri, 15 Nov 2013 07:26:53 +0000 Subject: [PATCH] Increase message length to avoid truncation when verbose is set to full. Fixed some warnings. pre-ci ok. git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4411 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- openair2/UTIL/LOG/log.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openair2/UTIL/LOG/log.h b/openair2/UTIL/LOG/log.h index 1b9fd091df..442bcaf045 100755 --- a/openair2/UTIL/LOG/log.h +++ b/openair2/UTIL/LOG/log.h @@ -75,7 +75,7 @@ extern "C" { * @ingroup _macro * @brief the macros that describe the maximum length of LOG * @{*/ -#define MAX_LOG_ITEM 70 /*!< \brief the maximum length of a LOG item, what is LOG_ITEM ??? */ +#define MAX_LOG_ITEM 100 /*!< \brief the maximum length of a LOG item, what is LOG_ITEM ??? */ #define MAX_LOG_INFO 1000 /*!< \brief the maximum length of a log */ #define MAX_LOG_TOTAL 1500 /*!< \brief the maximum length of a log */ /* @}*/ @@ -304,8 +304,8 @@ typedef struct { } log_t; typedef struct LOG_params { - char *file; - char *func; + const char *file; + const char *func; int line; int comp; int level; -- GitLab