incubator-celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abroekh...@apache.org
Subject svn commit: r1469206 - /incubator/celix/trunk/device_access/device_access/private/src/driver_attributes.c
Date Thu, 18 Apr 2013 07:31:37 GMT
Author: abroekhuis
Date: Thu Apr 18 07:31:36 2013
New Revision: 1469206

URL: http://svn.apache.org/r1469206
Log:
CELIX-50: Fixed small error in the driver attributes.

Modified:
    incubator/celix/trunk/device_access/device_access/private/src/driver_attributes.c

Modified: incubator/celix/trunk/device_access/device_access/private/src/driver_attributes.c
URL: http://svn.apache.org/viewvc/incubator/celix/trunk/device_access/device_access/private/src/driver_attributes.c?rev=1469206&r1=1469205&r2=1469206&view=diff
==============================================================================
--- incubator/celix/trunk/device_access/device_access/private/src/driver_attributes.c (original)
+++ incubator/celix/trunk/device_access/device_access/private/src/driver_attributes.c Thu
Apr 18 07:31:36 2013
@@ -93,7 +93,7 @@ celix_status_t driverAttributes_getDrive
 		if (status == CELIX_SUCCESS) {
 			char *id_prop = properties_get(properties, "DRIVER_ID");
 
-			if (id_prop) {
+			if (!id_prop) {
 				status = CELIX_ENOMEM;
 			} else {
 				*driverId = apr_pstrdup(driverAttributes->pool,id_prop);



Mime
View raw message