diff options
Diffstat (limited to 'apps/scrobbler.c')
| -rw-r--r-- | apps/scrobbler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/scrobbler.c b/apps/scrobbler.c index 06c957c..78414f3 100644 --- a/apps/scrobbler.c +++ b/apps/scrobbler.c @@ -255,7 +255,7 @@ int scrobbler_init(void) return -1; scrobbler_cache = core_alloc("scrobbler", SCROBBLER_MAX_CACHE*SCROBBLER_CACHE_LEN); - if (scrobbler_cache < 0) + if (scrobbler_cache <= 0) { logf("SCROOBLER: OOM"); return -1; |