From f49c8154ad12901db5aaecb66cd4ccd3047856db Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 2 Feb 2009 21:57:08 +0100 Subject: [PATCH] src/utils_db_query.c: When asked for the user data, return the user data. Appreciate this patch, it cost me one fucking hour of my live! --- src/utils_db_query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils_db_query.c b/src/utils_db_query.c index 87f36d29..27e8a55f 100644 --- a/src/utils_db_query.c +++ b/src/utils_db_query.c @@ -723,7 +723,7 @@ void *udb_query_get_user_data (udb_query_t *q) /* {{{ */ if (q == NULL) return (NULL); - return (q->statement); + return (q->user_data); } /* }}} void *udb_query_get_user_data */ void udb_query_finish_result (udb_query_t *q) /* {{{ */ -- 2.30.2