This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
|
| 2 |
TnyAccount *ac; |
| 3 |
int i=0; |
| 4 |
|
| 5 |
const gchar *URL[] = { |
| 6 |
"pop://philip.vanhoof%40gmail.com@pop.gmail.com/;use_ssl=wrapped/inbox/GmailIdfebedafcc22b9c6", |
| 7 |
"pop://philip.vanhoof%40gmail.com@pop.gmail.com/;use_ssl=wrapped/inbox/GmailId112b3216c72f8e46", |
| 8 |
"pop://philip.vanhoof%40gmail.com@pop.gmail.com/;use_ssl=wrapped/inbox/GmailId112b3216c72f8e46", |
| 9 |
"pop://philip.vanhoof%40gmail.com@pop.gmail.com/;use_ssl=wrapped/inbox/GmailId112b3213930f6dc6", |
| 10 |
"pop://philip.vanhoof%40gmail.com@pop.gmail.com/;use_ssl=wrapped/inbox/GmailId112b3215cf612ced", |
| 11 |
"pop://philip.vanhoof%40gmail.com@pop.gmail.com/;use_ssl=wrapped/inbox/GmailId112b32157416f4cf" }; |
| 12 |
|
| 13 |
for (i=0; i<6; i++) |
| 14 |
{ |
| 15 |
ac = tny_account_store_find_account (priv->account_store, URL[i]); |
| 16 |
|
| 17 |
if (ac) { |
| 18 |
TnyFolder *fol; |
| 19 |
fol = tny_store_account_find_folder (ac, URL[i], NULL); |
| 20 |
if (fol) { |
| 21 |
TnyMsg *msg; |
| 22 |
msg = tny_folder_find_msg (fol, URL[i], NULL); |
| 23 |
if (msg) |
| 24 |
printf ("FIND 3\n"); |
| 25 |
g_object_unref (msg); |
| 26 |
} else |
| 27 |
printf ("FAIL 2\n"); |
| 28 |
g_object_unref (fol); |
| 29 |
} else printf ("FAIL 1\n"); |
| 30 |
g_object_unref (ac); |
| 31 |
} |