From 3a86b997caab669785bd9cd62a67cd54eceb2d1f Mon Sep 17 00:00:00 2001 From: Dmitry Podgorny Date: Mon, 19 Oct 2020 00:00:00 +0300 Subject: xmpp/bookmark: don't use uninitialised field When a bookmark is created with '/bookmark add' command, ext_gajim_minimize remains uninitialised in new bookmark object and is read further in _send_bookmarks(). Initialise the field with 0. Fixes #1432. --- src/xmpp/bookmark.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xmpp/bookmark.c b/src/xmpp/bookmark.c index b603a71a..65c3bd01 100644 --- a/src/xmpp/bookmark.c +++ b/src/xmpp/bookmark.c @@ -126,6 +126,7 @@ bookmark_add(const char* jid, const char* nick, const char* password, const char } else { bookmark->name = NULL; } + bookmark->ext_gajim_minimize = 0; if (g_strcmp0(autojoin_str, "on") == 0) { bookmark->autojoin = TRUE; -- cgit 1.4.1-2-gfad0 it' value='switch'/> mirror of ~rjarry's aerc fork - a pretty good email clientakspecs <akspecs@tilde.institute>
about summary refs log tree commit diff stats
path: root/widgets/exline.go
blob: b7b4e3db42a3926e349c463001bd202eca305539 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78