Merge ~kzapalowicz/snappy-hwe-snaps/+git/bluez:feature/bluez/5.49/core-patches-2 into ~snappy-hwe-team/snappy-hwe-snaps/+git/bluez:bluez/5.49

Proposed by Konrad Zapałowicz
Status: Merged
Approved by: Alfonso Sanchez-Beato
Approved revision: a2e35cb872dbf9d6d6a3952bb8219098a43ac99a
Merged at revision: 39503d97806d5b2324579a5177d051e414712ea8
Proposed branch: ~kzapalowicz/snappy-hwe-snaps/+git/bluez:feature/bluez/5.49/core-patches-2
Merge into: ~snappy-hwe-team/snappy-hwe-snaps/+git/bluez:bluez/5.49
Diff against target: 26 lines (+2/-2)
2 files modified
obexd/src/main.c (+1/-1)
src/adapter.c (+1/-1)
Reviewer Review Type Date Requested Status
System Enablement Bot continuous-integration Approve
Alfonso Sanchez-Beato Approve
Review via email: mp+341635@code.launchpad.net

Description of the change

fix compilation issues

To post a comment you must log in.
Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) :
review: Approve
Revision history for this message
System Enablement Bot (system-enablement-ci-bot) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/obexd/src/main.c b/obexd/src/main.c
2index d7ade96..2e79f0e 100644
3--- a/obexd/src/main.c
4+++ b/obexd/src/main.c
5@@ -285,7 +285,7 @@ int main(int argc, char *argv[])
6 }
7
8 if (option_root == NULL) {
9- option_root = getenv("SNAP_USER_DATA")
10+ option_root = getenv("SNAP_USER_DATA");
11
12 if (!option_root)
13 option_root = g_build_filename(g_get_user_cache_dir(),
14diff --git a/src/adapter.c b/src/adapter.c
15index 73b48cd..696f953 100644
16--- a/src/adapter.c
17+++ b/src/adapter.c
18@@ -8423,7 +8423,7 @@ static bool get_static_addr(struct btd_adapter *adapter)
19 (const char **)addrs, len);
20
21 str = g_key_file_to_data(file, &len, NULL);
22- g_file_set_contents("%s/addresses", get_storage_dir(), str, len, NULL);
23+ g_file_set_contents(filename, str, len, NULL);
24 g_free(str);
25
26 ret = true;

Subscribers

People subscribed via source and target branches