Don't take action if the callback is of event type

When event call back is called,There could be two context
1) As part of actual D-bus signal
2) During startup of dbus-monitor
if event call back is called with context as startup then
don't take any action.

Corrected the index value to fetch the property name.

Change-Id: Ifaae33dc78841c8f771fe3788e75f79d9de6ec12
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
1 file changed