diff options
| author | Semavi Ulusoy <doc.divxm@gmail.com> | 2022-12-06 20:18:28 +0300 |
|---|---|---|
| committer | Semavi Ulusoy <doc.divxm@gmail.com> | 2022-12-06 20:18:28 +0300 |
| commit | 43ecd869bdcf14fa9fb2297f822c25ebb4025ccd (patch) | |
| tree | 827c7e5009efb016d6da829f1732f35655711044 /libc/bionic/sysprop_helpers.cpp | |
| parent | bc9412b264181bbe9bc3d31b2c32ba75a480431b (diff) | |
| parent | 5630078b73dbd1ecce85868ca9766f64709f3354 (diff) | |
Merge tag 'android-13.0.0_r16' into t13.0
Android 13.0.0 Release 16 (TQ1A.221205.011)
Change-Id: Ia6fdd3c05b816b90857703aeaf42bfd3b0f20cbe
Diffstat (limited to 'libc/bionic/sysprop_helpers.cpp')
| -rw-r--r-- | libc/bionic/sysprop_helpers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/bionic/sysprop_helpers.cpp b/libc/bionic/sysprop_helpers.cpp index edae6cc84..10da3efc2 100644 --- a/libc/bionic/sysprop_helpers.cpp +++ b/libc/bionic/sysprop_helpers.cpp @@ -53,7 +53,7 @@ static bool get_property_value(const char* property_name, char* dest, size_t des strncpy(cb_cookie->dest, value, cb_cookie->size); }, &cb_cookie); - if (*dest != '\0' && *dest != '0') return true; + if (*dest != '\0') return true; return false; } |
