Skip to content

Commit

Permalink
jsonrpc: fix "notifications" output of JSONRPC.Introspect
Browse files Browse the repository at this point in the history
  • Loading branch information
Montellese authored and opdenkamp committed Sep 19, 2011
1 parent 5ff6ac6 commit 4c68d4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/interfaces/json-rpc/JSONServiceDescription.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ JSON_STATUS CJSONServiceDescription::Print(CVariant &result, ITransportLayer *tr
std::map<std::string, CVariant>::const_iterator notificationIterator;
std::map<std::string, CVariant>::const_iterator notificationIteratorEnd = notifications.end();
for (notificationIterator = notifications.begin(); notificationIterator != notificationIteratorEnd; notificationIterator++)
result["notifications"][notificationIterator->first] = notificationIterator->second;
result["notifications"][notificationIterator->first] = notificationIterator->second[notificationIterator->first];

return OK;
}
Expand Down

0 comments on commit 4c68d4c

Please sign in to comment.