aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2008-03-02 20:24:52 -0500
committerBrian Cully <github.20.shmit@spamgourmet.com>2008-03-02 20:24:52 -0500
commit2e057409539e0b3ca30a0514cc296f78a3774d50 (patch)
treea488afcb45b23681af4e6adc367f68eb47757f68
parent5af21a0af012c503c7e166cee0a2988bd9c20772 (diff)
downloadmysqlerl-2e057409539e0b3ca30a0514cc296f78a3774d50.tar.gz
mysqlerl-2e057409539e0b3ca30a0514cc296f78a3774d50.zip
whitespace.
-rw-r--r--src/mysqlerl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mysqlerl.c b/src/mysqlerl.c
index 0b302bb..de2520d 100644
--- a/src/mysqlerl.c
+++ b/src/mysqlerl.c
@@ -212,9 +212,10 @@ handle_param_query(MYSQL *dbh, ETERM *msg)
char *q;
query = erl_element(2, msg);
- params = erl_element(3, msg);
q = erl_iolist_to_string(query);
erl_free_term(query);
+
+ params = erl_element(3, msg);
erl_free_term(params);
logmsg("DEBUG: got param query msg: %s.", q);