plugin: trivial modification of log contents 08/123208/1 accepted/tizen/unified/20170406.172559 submit/tizen/20170405.090214
authorSooyoung Ha <yoosah.ha@samsung.com>
Tue, 4 Apr 2017 14:53:54 +0000 (23:53 +0900)
committerSooyoung Ha <yoosah.ha@samsung.com>
Wed, 5 Apr 2017 02:37:12 +0000 (11:37 +0900)
'out.array_of_parameter[0].v_int32' will freed by release function and
'success' can present the result enough.

Change-Id: I072db5c7a1f078e7ca4e5d7ce4b99e1d6fdd397c
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
src/plugin.c

index 68a02c6..394c863 100644 (file)
@@ -311,7 +311,7 @@ int request_validity_to_plugin ( int cmd, const char* in_buf )
         success = ( out.array_of_parameter[0].v_int32 == PLUGIN_RET_VALID ) ? 1 : 0;
         release_parameters ( &out );
 
-        D ("request validity success : %d\n", out.array_of_parameter[0].v_int32);
+        D ("request validity success : %d\n", success);
     }
 
     release_parameters ( &in );