| 633 subject, from, to, url); |
633 subject, from, to, url); |
| 634 } |
634 } |
| 635 |
635 |
| 636 static void |
636 static void |
| 637 notify_emails_cb(char **subjects, char **froms, char **tos, char **urls, guint count) { |
637 notify_emails_cb(char **subjects, char **froms, char **tos, char **urls, guint count) { |
| 638 int i; |
638 guint i; |
| 639 purple_debug_misc("signals test", "notify emails: count=%d\n", count); |
639 purple_debug_misc("signals test", "notify emails: count=%d\n", count); |
| 640 for(i=0; i<count && i<5; i++) { |
640 for(i=0; i<count && i<5; i++) { |
| 641 if(subjects[i]==NULL || froms[i]==NULL || tos[i]==NULL || urls[i]==NULL) continue; |
641 if(subjects[i]==NULL || froms[i]==NULL || tos[i]==NULL || urls[i]==NULL) continue; |
| 642 purple_debug_misc("signals test", "notify emails[%d]: subject=%s, from=%s, to=%s, url=%s\n", |
642 purple_debug_misc("signals test", "notify emails[%d]: subject=%s, from=%s, to=%s, url=%s\n", |
| 643 i, subjects[i], froms[i], tos[i], urls[i]); |
643 i, subjects[i], froms[i], tos[i], urls[i]); |