--- pOidgin/plugins/cap/cap.c.orig 2013-03-11 15:40:09.000000000 +0200 +++ pOidgin/plugins/cap/cap.c 2013-03-11 15:40:17.000000000 +0200 @@ -43,7 +43,7 @@ int threshold = purple_prefs_get_int("/plugins/gtk/cap/threshold"); int min_minute = (current_minute - threshold) % 1440; int max_minute = (current_minute + threshold) % 1440; - char *sql, sta_id = NULL; + char *sql, *sta_id = NULL; sqlite3_stmt *stmt = NULL; const char *tail = NULL; int rc;