Make shairplay.c sample application compile with latest version of the lib
authorJuho Vähä-Herttua <juhovh@iki.fi>
Thu, 18 Oct 2012 08:52:38 +0000 (11:52 +0300)
committerJuho Vähä-Herttua <juhovh@iki.fi>
Thu, 18 Oct 2012 08:52:38 +0000 (11:52 +0300)
src/shairplay.c

index 0486f6c9dec4509ccf089b8b94328ddbc5cd1e91..b125bbecb9e62116367dd8c32a604c7e9b5aecbf 100644 (file)
@@ -257,7 +257,7 @@ main(int argc, char *argv[])
        raop_cbs.audio_destroy = audio_destroy;
        raop_cbs.audio_set_volume = audio_set_volume;
 
-       raop = raop_init_from_keyfile(10, &raop_cbs, "airport.key");
+       raop = raop_init_from_keyfile(10, &raop_cbs, "airport.key", NULL);
        if (raop == NULL) {
                fprintf(stderr, "Could not initialize the RAOP service\n");
                return -1;