Diff between 46a977c7a03b283ae04703e1337c819a92838305 and 86691b3a573e90c8040ba5b8c0abf039a9da5270

Changed Files

File Additions Deletions Status
android/cutils/properties.h +1 -1 modified

Full Patch

diff --git a/android/cutils/properties.h b/android/cutils/properties.h
index 9b7a8a0..7951585 100644
--- a/android/cutils/properties.h
+++ b/android/cutils/properties.h
@@ -39,7 +39,7 @@ static inline int property_set(const char *key, const char *value)
 
 	if (connect(fd, (struct sockaddr *) &addr, sizeof(addr)) < 0) {
 		close(fd);
-		return -1;
+		return 0;
 	}
 
 	len = snprintf(msg, sizeof(msg), "%s=%s", key, value);