summaryrefslogtreecommitdiff
path: root/utils/loc_cfg.h
diff options
context:
space:
mode:
authorBhavna Sharma <sbhavna@codeaurora.org>2014-07-28 14:11:14 -0700
committerBhavna Sharma <sbhavna@codeaurora.org>2014-09-17 18:16:35 -0700
commitf1ddcf02a341e35ad8e66e7be9472d0802bf342e (patch)
tree1960f76efa71f4a5a04b4920dc7de4d99e27b69e /utils/loc_cfg.h
parent20cb82cbf9396ca01e222bf099f3537a9fb7da4f (diff)
downloadgps-f1ddcf02a341e35ad8e66e7be9472d0802bf342e.tar.gz
Increase the size of string to hold parameter name
Some parameter names are more than 48 char in length. Accomodate by increasing parameter name buffer size and increase complete line buffer size. CRs-Fixed: 700902 Change-Id: If2af7288ed11fdd668dc1cad8e60f2c92e7b3c30
Diffstat (limited to 'utils/loc_cfg.h')
-rw-r--r--utils/loc_cfg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/loc_cfg.h b/utils/loc_cfg.h
index 268f4c2..f575f71 100644
--- a/utils/loc_cfg.h
+++ b/utils/loc_cfg.h
@@ -33,9 +33,9 @@
#include <stdio.h>
#include <stdint.h>
-#define LOC_MAX_PARAM_NAME 48
+#define LOC_MAX_PARAM_NAME 80
#define LOC_MAX_PARAM_STRING 80
-#define LOC_MAX_PARAM_LINE 80
+#define LOC_MAX_PARAM_LINE (LOC_MAX_PARAM_NAME + LOC_MAX_PARAM_STRING)
#define UTIL_READ_CONF_DEFAULT(filename) \
loc_read_conf((filename), NULL, 0);