commit | cdd3b339fcf4ef2620a7d02b2a5694277acc8f81 | [log] [tgz] |
---|---|---|
author | Matt Mower <mowerm@gmail.com> | Thu Mar 27 14:38:48 2014 -0500 |
committer | Matt Mower <mowerm@gmail.com> | Thu Mar 27 16:12:40 2014 -0500 |
tree | d306aa1bbbb773665b36e212a8f54e731f0d5a01 | |
parent | 02a6453b7530db16724e047d7a9fba71b40de455 [diff] [blame] |
Add basic error checking to legacy property init Let init and rename funcitons return success or failure values. Change-Id: Ieed86cac8a0dcfd770a89dacc57fd306e7a6ad8d
diff --git a/legacy_properties.h b/legacy_properties.h index 9eb6bc7..44cdd95 100644 --- a/legacy_properties.h +++ b/legacy_properties.h
@@ -63,7 +63,7 @@ char value[PROP_VALUE_MAX]; }; -struct prop_msg +struct prop_msg { unsigned cmd; char name[PROP_NAME_MAX]; @@ -71,7 +71,7 @@ }; #define PROP_MSG_SETPROP 1 - + /* ** Rules: **