changeset 1:874f6b582761

imgpasterd: fix default path
author David Demelier <markand@malikania.fr>
date Wed, 25 Nov 2020 21:44:17 +0100
parents f41e1b48510d
children 0c41ea869501
files config.c imgpasterd.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/config.c	Wed Nov 25 21:13:03 2020 +0100
+++ b/config.c	Wed Nov 25 21:44:17 2020 +0100
@@ -19,7 +19,7 @@
 #include "config.h"
 
 struct config config = {
-	.databasepath   = VARDIR "/imgpaster/paster.db",
+	.databasepath   = VARDIR "/imgpaster/imgpaster.db",
 	.themedir       = SHAREDIR "/imgpaster/themes/minimal",
 	.verbosity      = 1
 };
--- a/imgpasterd.c	Wed Nov 25 21:13:03 2020 +0100
+++ b/imgpasterd.c	Wed Nov 25 21:44:17 2020 +0100
@@ -32,7 +32,7 @@
 defaults(void)
 {
 	snprintf(config.databasepath, sizeof (config.databasepath),
-	    "%s", VARDIR "/paster/paster.db");
+	    "%s", VARDIR "/imgpaster/imgpaster.db");
 }
 
 static void