Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Commit

Permalink
Possible fix for #234
Browse files Browse the repository at this point in the history
  • Loading branch information
ad-oliviero committed Nov 30, 2023
1 parent d4ec9a2 commit 25feae2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libfetch/fetch.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ char* get_model(void) {
#elif defined(SYSTEM_BASE_ANDROID)
LOG_I("getting model name with getprop (__system_property_get())");
__system_property_get("ro.product.marketname", model);
if (!model) __system_property_get("ro.product.vendor.marketname", model);
#elif defined(SYSTEM_BASE_FREEBSD)
char buf[BUFFER_SIZE] = {0};
unsigned long int len = sizeof(buf);
Expand Down

0 comments on commit 25feae2

Please sign in to comment.