pidgin/android/libpurple

Fix from David Walser for a crash in the CAP plugin.
release-2.x.y
2013-02-14, Daniel Atallah
a860609d9c9e
Parents 75999131f023
Children 81c1f235dce6
Fix from David Walser for a crash in the CAP plugin.
--- a/pidgin/plugins/cap/cap.c Thu Feb 14 00:42:20 2013 -0500
+++ b/pidgin/plugins/cap/cap.c Thu Feb 14 21:58:02 2013 +0000
@@ -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;