Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports
Path: blob/main/mail/balsa/files/patch-libbalsa_mailbox_local.c
18157 views
1
--- libbalsa/mailbox_local.c.orig 2009-05-23 03:02:12 UTC
2
+++ libbalsa/mailbox_local.c
3
@@ -468,7 +468,7 @@
4
5
typedef struct {
6
GArray * array;
7
- guint (*fileno)(LibBalsaMailboxLocal * local, guint msgno);
8
+ guint (*sti_fileno)(LibBalsaMailboxLocal * local, guint msgno);
9
LibBalsaMailboxLocal *local;
10
} LibBalsaMailboxLocalSaveTreeInfo;
11
12
@@ -464,9 +464,9 @@ lbm_local_save_tree_item(guint msgno, gu
13
if (msgno == 0) {
14
info.msgno = msgno;
15
info.value.total = a;
16
- } else if (save_info->fileno) {
17
- info.msgno = save_info->fileno(save_info->local, msgno);
18
- info.value.parent = save_info->fileno(save_info->local, a);
19
+ } else if (save_info->sti_fileno) {
20
+ info.msgno = save_info->sti_fileno(save_info->local, msgno);
21
+ info.value.parent = save_info->sti_fileno(save_info->local, a);
22
} else {
23
info.msgno = msgno;
24
info.value.parent = a;
25
@@ -524,7 +524,7 @@ lbm_local_save_tree(LibBalsaMailboxLocal
26
return;
27
}
28
29
- save_info.fileno = LIBBALSA_MAILBOX_LOCAL_GET_CLASS(local)->fileno;
30
+ save_info.sti_fileno = LIBBALSA_MAILBOX_LOCAL_GET_CLASS(local)->sti_fileno;
31
save_info.local = local;
32
save_info.array =
33
g_array_new(FALSE, FALSE, sizeof(LibBalsaMailboxLocalTreeInfo));
34
35