diff --git a/src/httpd_jsonapi.c b/src/httpd_jsonapi.c index 4626c528..ee4b7551 100644 --- a/src/httpd_jsonapi.c +++ b/src/httpd_jsonapi.c @@ -525,7 +525,7 @@ fetch_artist(bool *notfound, const char *artist_id) if ((ret = db_query_fetch_group(&dbgri, &query_params)) == 0) { artist = artist_to_json(&dbgri); - notfound = false; + *notfound = false; } error: