garten

diff db.h @ 4:32c4212f05d9

less verbosity on queries; activation of weather
author meillo@marmaro.de
date Wed, 14 May 2008 21:10:11 +0200
parents 831599184108
children 176ee28e7464
line diff
     1.1 --- a/db.h	Wed May 14 21:09:09 2008 +0200
     1.2 +++ b/db.h	Wed May 14 21:10:11 2008 +0200
     1.3 @@ -33,7 +33,7 @@
     1.4  	int error;
     1.5  	/* send SQL query */
     1.6  	error = mysql_query(conn, query);
     1.7 -	printf("query: %s\nerror: %d / %d\n", query, error, mysql_errno(conn));
     1.8 +	/*printf("query: %s\nerror: %d / %d\n", query, error, mysql_errno(conn));*/
     1.9  	if (error != 0) {
    1.10  		fprintf(stderr, "E: %s\n", mysql_error(conn));
    1.11  	}