Lines 43-49
Link Here
|
43 |
int threshold = purple_prefs_get_int("/plugins/gtk/cap/threshold"); |
43 |
int threshold = purple_prefs_get_int("/plugins/gtk/cap/threshold"); |
44 |
int min_minute = (current_minute - threshold) % 1440; |
44 |
int min_minute = (current_minute - threshold) % 1440; |
45 |
int max_minute = (current_minute + threshold) % 1440; |
45 |
int max_minute = (current_minute + threshold) % 1440; |
46 |
char *sql, sta_id = NULL; |
46 |
char *sql, *sta_id = NULL; |
47 |
sqlite3_stmt *stmt = NULL; |
47 |
sqlite3_stmt *stmt = NULL; |
48 |
const char *tail = NULL; |
48 |
const char *tail = NULL; |
49 |
int rc; |
49 |
int rc; |