diff options
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; } |