Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/azatoth/minidlna.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/sql.c
diff options
context:
space:
mode:
authorJustin Maggard <jmaggard@users.sourceforge.net>2011-03-31 02:31:39 +0400
committerCarl Fürstenberg <azatoth@gmail.com>2011-03-31 21:11:07 +0400
commitf8778f3fd8d957dfd5df8112412dea2465bf2739 (patch)
treedb1efed0f2f047603d6f3e420e7dec5a2baae97f /sql.c
parent14af0b4acb527a529e34accda4c67ab004b409aa (diff)
* Add missing newlines for some log messages.
Diffstat (limited to 'sql.c')
-rw-r--r--sql.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql.c b/sql.c
index e38a744..6311e1e 100644
--- a/sql.c
+++ b/sql.c
@@ -136,7 +136,7 @@ sql_get_text_field(void *db, const char *fmt, ...)
if (db == NULL)
{
- DPRINTF(E_WARN, L_DB_SQL, "%s: db is NULL", __func__);
+ DPRINTF(E_WARN, L_DB_SQL, "db is NULL\n");
return NULL;
}
@@ -182,7 +182,7 @@ sql_get_text_field(void *db, const char *fmt, ...)
len = sqlite3_column_bytes(stmt, 0);
if ((str = sqlite3_malloc(len + 1)) == NULL)
{
- DPRINTF(E_ERROR, L_DB_SQL, "malloc failed");
+ DPRINTF(E_ERROR, L_DB_SQL, "malloc failed\n");
break;
}
@@ -190,7 +190,7 @@ sql_get_text_field(void *db, const char *fmt, ...)
break;
default:
- DPRINTF(E_WARN, L_DB_SQL, "%s: step failed: %s", __func__, sqlite3_errmsg(db));
+ DPRINTF(E_WARN, L_DB_SQL, "SQL step failed: %s\n", sqlite3_errmsg(db));
str = NULL;
break;
}