speechd-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/2] Slight workaround for buggy spd_get_path.


From: Boris Dušek
Subject: [PATCH 2/2] Slight workaround for buggy spd_get_path.
Date: Sat, 19 Mar 2011 22:51:32 +0100

Makes ps output more readable by not having two slashes in module
configuration file path.
---
 src/server/module.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/server/module.c b/src/server/module.c
index e7d8893..a0e122e 100644
--- a/src/server/module.c
+++ b/src/server/module.c
@@ -141,7 +141,7 @@ OutputModule *load_output_module(char *mod_name, char 
*mod_prog,
        module->name = (char *)g_strdup(mod_name);
        module->filename = (char *)spd_get_path(mod_prog, MODULEBINDIR);
 
-       module_conf_dir = g_strdup_printf("%s/modules/",
+       module_conf_dir = g_strdup_printf("%s/modules",
                                          SpeechdOptions.conf_dir);
 
        module->configfilename =
-- 
1.7.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]