diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-03-15 22:13:14 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-03-15 22:13:14 +0200 |
commit | 5c3643f95a9d5568b64875ddf96a7e007050de72 (patch) | |
tree | ef0b514e194dfdc4257040b8f2554df8f081895e /src/mysql.c | |
parent | 7c6a94930dae634efd8af6db16578d8317153a9a (diff) | |
download | gamma-5c3643f95a9d5568b64875ddf96a7e007050de72.tar.gz gamma-5c3643f95a9d5568b64875ddf96a7e007050de72.tar.bz2 |
Use scm_from_locale_string instead of scm_makfrom0str.
Diffstat (limited to 'src/mysql.c')
-rw-r--r-- | src/mysql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mysql.c b/src/mysql.c index 4b4d0f2..08b4ab8 100644 --- a/src/mysql.c +++ b/src/mysql.c @@ -165,7 +165,7 @@ s_mysql_query(struct sql_connect *conn, const char *query) if (!row) break; for (j = 0; j < nfields; j++) { - SCM new_elt = scm_cons(scm_makfrom0str(row[j]), + SCM new_elt = scm_cons(scm_from_locale_string(row[j]), SCM_EOL); if (head == SCM_EOL) head = new_elt; |