summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ideviceinstaller.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ideviceinstaller.c b/src/ideviceinstaller.c
index 808a1e9..ab62809 100644
--- a/src/ideviceinstaller.c
+++ b/src/ideviceinstaller.c
@@ -63,7 +63,7 @@ int err_occured = 0;
63int notified = 0; 63int notified = 0;
64 64
65 65
66static void notifier(const char *notification) 66static void notifier(const char *notification, void *unused)
67{ 67{
68 /* printf("notification received: %s\n", notification);*/ 68 /* printf("notification received: %s\n", notification);*/
69 notified = 1; 69 notified = 1;
@@ -348,7 +348,7 @@ int main(int argc, char **argv)
348 goto leave_cleanup; 348 goto leave_cleanup;
349 } 349 }
350 350
351 np_set_notify_callback(np, notifier); 351 np_set_notify_callback(np, notifier, NULL);
352 352
353 const char *noties[3] = { NP_APP_INSTALLED, NP_APP_UNINSTALLED, NULL }; 353 const char *noties[3] = { NP_APP_INSTALLED, NP_APP_UNINSTALLED, NULL };
354 354