Skip to content

Commit

Permalink
Fixed segfault for trying to extract error from list.
Browse files Browse the repository at this point in the history
  • Loading branch information
eggpi committed Apr 2, 2012
1 parent f3733bf commit beef75b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipod-syncer.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ run_query (const gchar *query, context_t *context)
g_printf ("Failed to get collection: %s\n", errstr);
} else {
if ((err = sync_method (idl, NULL, context))) {
xmmsv_get_error (idl, &errstr);
xmmsv_get_error (err, &errstr);
g_printf ("Failed to sync tracks: %s\n", errstr);
}
}
Expand Down

0 comments on commit beef75b

Please sign in to comment.