summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>2014-06-17 14:01:55 +0200
committerJean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>2014-06-17 14:02:33 +0200
commit3d33d3db7e283409dbac18331bba32d5676f5f3a (patch)
treeac8d07f6d0ce2833e4f6c6cb334ee5b72c7cdae3
parentbeb1dd6f05cbb53204aa044c169e75d1af9d19e7 (diff)
downloadbadge-3d33d3db7e283409dbac18331bba32d5676f5f3a.tar.gz
badge-3d33d3db7e283409dbac18331bba32d5676f5f3a.tar.bz2
badge-3d33d3db7e283409dbac18331bba32d5676f5f3a.zip
Remove hardcoded path
Bug-Tizen: TC-330 Change-Id: Ic05a484941be3ebfd844b915f6fa6f2801bc6ad4 Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
-rwxr-xr-xsrc/badge_setting.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/badge_setting.c b/src/badge_setting.c
index 749c778..410f784 100755
--- a/src/badge_setting.c
+++ b/src/badge_setting.c
@@ -24,6 +24,7 @@
#include <stdarg.h>
#include <sqlite3.h>
#include <db-util.h>
+#include <tzplatform_config.h>
#include "badge.h"
#include "badge_log.h"
@@ -34,7 +35,7 @@
#include "badge_db.h"
#define SETTING_DB_TABLE "notification_setting"
-#define SETTING_DB_FILE "/opt/usr/dbspace/.notification_parser.db"
+#define SETTING_DB_FILE tzplatform_mkpath(TZ_USER_DB,".notification_parser.db")
struct prop_table {
const char *property;