Fixed creation of endpoint notifies.

This commit is contained in:
Tobias Brunner
2012-03-20 17:30:48 +01:00
parent 21da1087a5
commit 8c5e78ae4f
@@ -227,7 +227,7 @@ METHOD(endpoint_notify_t, build_notify, notify_payload_t*,
chunk_t data;
notify_payload_t *notify;
notify = notify_payload_create(NOTIFICATION);
notify = notify_payload_create(NOTIFY);
notify->set_notify_type(notify, ME_ENDPOINT);
data = build_notification_data(this);
notify->set_notification_data(notify, data);