summaryrefslogtreecommitdiffstats
path: root/src/notification_proxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/notification_proxy.c')
-rw-r--r--src/notification_proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notification_proxy.c b/src/notification_proxy.c
index 41647c8..b82378a 100644
--- a/src/notification_proxy.c
+++ b/src/notification_proxy.c
@@ -110,7 +110,7 @@ np_error_t np_client_new(idevice_t device, uint16_t port, np_client_t *client)
return NP_E_CONN_FAILED;
}
- np_client_t client_loc = (np_client_t) malloc(sizeof(struct np_client_int));
+ np_client_t client_loc = (np_client_t) malloc(sizeof(struct np_client_private));
client_loc->parent = plistclient;
client_loc->mutex = g_mutex_new();