From f5ca09365013ad01f33db2d2f58b222d6391b38d Mon Sep 17 00:00:00 2001 From: geronet Date: Sat, 25 Feb 2006 13:36:33 +0000 Subject: [lcd4linux @ 2006-02-25 13:36:33 by geronet] updated indent.sh, applied coding style git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@647 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- plugin_mysql.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'plugin_mysql.c') diff --git a/plugin_mysql.c b/plugin_mysql.c index 1ccdb0e..f616a39 100644 --- a/plugin_mysql.c +++ b/plugin_mysql.c @@ -1,4 +1,4 @@ -/* $Id: plugin_mysql.c,v 1.10 2006/01/20 15:58:05 reinelt Exp $ +/* $Id: plugin_mysql.c,v 1.11 2006/02/25 13:36:33 geronet Exp $ * * plugin for execute SQL queries into a MySQL DBSM. * @@ -23,6 +23,9 @@ * * * $Log: plugin_mysql.c,v $ + * Revision 1.11 2006/02/25 13:36:33 geronet + * updated indent.sh, applied coding style + * * Revision 1.10 2006/01/20 15:58:05 reinelt * MySQL::count() added again * @@ -170,7 +173,7 @@ static void my_MySQLcount(RESULT * result, RESULT * query) char *q; double value; MYSQL_RES *res; - + if (configure_mysql() < 0) { value = -1; SetResult(&result, R_NUMBER, &value); @@ -203,7 +206,7 @@ static void my_MySQLquery(RESULT * result, RESULT * query) char *q; double value; MYSQL_RES *res; - MYSQL_ROW row=NULL; + MYSQL_ROW row = NULL; if (configure_mysql() < 0) { value = -1; -- cgit v1.2.3