Skip to content

Commit 8a49941

Browse files
committed
Merge branch 'release/0.9.2'
2 parents 9b66d6b + 21370f3 commit 8a49941

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.3)
22

3-
project(phone VERSION 0.9.0 LANGUAGES C CXX)
3+
project(phone VERSION 0.9.2 LANGUAGES C CXX)
44

55
set(CMAKE_CXX_STANDARD 20)
66

src/c_cli/main.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,10 @@ int main() {
242242
phone_refresh_audio_devices();
243243
size_t count = phone_get_audio_devices_count();
244244
size_t max_driver_name_length;
245-
if (phone_get_audio_device_driver_name_length(&max_driver_name_length) != PHONE_STATUS_SUCCESS)
245+
if (phone_get_audio_device_driver_name_length(&max_driver_name_length) != PHONE_STATUS_SUCCESS) {
246246
fprintf(stderr, "%s\n", phone_last_error());
247+
break;
248+
}
247249
// +1 for zero termination!
248250
++max_driver_name_length;
249251

0 commit comments

Comments
 (0)