tSpurious newlines removed from dopelog() calls. - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 14be3cdede6ae18fa17063cdd3013d6b7227f97c
(DIR) parent 348fa7c12bab2b41e3e183d44837c29f8119200d
(HTM) Author: Ben Webb <ben@salilab.org>
Date: Fri, 24 May 2002 11:30:47 +0000
Spurious newlines removed from dopelog() calls.
Diffstat:
M src/sound.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
(DIR) diff --git a/src/sound.c b/src/sound.c
t@@ -72,7 +72,7 @@ static void AddPlugin(InitFunc ifunc, void *module)
SoundDriver *newdriver = (*ifunc)();
if (newdriver) {
- dopelog(5, 0, "%s sound plugin init OK\n", newdriver->name);
+ dopelog(5, 0, "%s sound plugin init OK", newdriver->name);
newdriver->module = module;
driverlist = g_slist_append(driverlist, newdriver);
}
t@@ -92,7 +92,7 @@ static void OpenModule(const gchar *modname, const gchar *fullname)
soundmodule = dlopen(fullname, RTLD_NOW);
if (!soundmodule) {
/* FIXME: using dlerror() here causes a segfault later in the program */
- dopelog(3, 0, "dlopen of %s failed: %s\n", fullname, dlerror());
+ dopelog(3, 0, "dlopen of %s failed: %s", fullname, dlerror());
return;
}
t@@ -104,7 +104,7 @@ static void OpenModule(const gchar *modname, const gchar *fullname)
if (ifunc) {
AddPlugin(ifunc, soundmodule);
} else {
- dopelog(3, 0, "dlsym (%s) failed: %s\n", funcname->str, dlerror());
+ dopelog(3, 0, "dlsym (%s) failed: %s", funcname->str, dlerror());
dlclose(soundmodule);
}
g_string_free(funcname, TRUE);
t@@ -133,7 +133,7 @@ static void ScanPluginDir(const gchar *dirname)
g_string_free(modname, TRUE);
closedir(dir);
} else {
- dopelog(5, 0, "Cannot open dir %s\n", dirname);
+ dopelog(5, 0, "Cannot open dir %s", dirname);
}
}
#endif
t@@ -179,7 +179,7 @@ void SoundOpen(gchar *drivername)
driver = GetPlugin(drivername);
if (driver) {
if (driver->open) {
- dopelog(3, 0, "Using plugin %s\n", driver->name);
+ dopelog(3, 0, "Using plugin %s", driver->name);
driver->open();
}
} else if (drivername) {