[mirrorbrain-commits] r8239 - /trunk/mod_mirrorbrain/mod_mirrorbrain.c

From: <poeml_at_mirrorbrain.org>
Date: Wed, 23 Feb 2011 21:29:49 -0000
Author: poeml
Date: Wed Feb 23 22:29:48 2011
New Revision: 8239

URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8239&view=rev
Log:
mod_mirrorbrain:
- initialize *statement pointer, now that it is not set unconditionally anymore
  (adjunct to r8238 / issue #84)

Modified:
    trunk/mod_mirrorbrain/mod_mirrorbrain.c

Modified: trunk/mod_mirrorbrain/mod_mirrorbrain.c
URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/mod_mirrorbrain/mod_mirrorbrain.c?rev=8239&r1=8238&r2=8239&view=diff
==============================================================================
--- trunk/mod_mirrorbrain/mod_mirrorbrain.c (original)
+++ trunk/mod_mirrorbrain/mod_mirrorbrain.c Wed Feb 23 22:29:48 2011
_at_@ -1364,7 +1364,7 @@
     mirror_entry_t *chosen = NULL;
     hashbag_t *hashbag = NULL;
     apr_status_t rv;
-    apr_dbd_prepared_t *statement;
+    apr_dbd_prepared_t *statement = NULL;
     apr_dbd_results_t *res = NULL;
     apr_dbd_row_t *row = NULL;
     /* this holds all mirror_entrys */




_______________________________________________
mirrorbrain-commits mailing list
Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/

Note: To remove yourself from this list, send a mail with the content
 	unsubscribe
to the address mirrorbrain-commits-request_at_mirrorbrain.org
Received on Wed Feb 23 2011 - 21:29:50 GMT

This archive was generated by hypermail 2.3.0 : Wed Feb 23 2011 - 21:32:16 GMT