libaacs | branch: master | npzacs <npz...@gmail.com> | Tue Dec 17 20:43:24 2013 +0200| [0837c5fa55eeb61b9d79e10ca22fbac47e75773a] | committer: npzacs
Fix cache_remove() > http://git.videolan.org/gitweb.cgi/libaacs.git/?a=commit;h=0837c5fa55eeb61b9d79e10ca22fbac47e75773a --- src/file/keydbcfg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/file/keydbcfg.c b/src/file/keydbcfg.c index 7843db3..622f784 100644 --- a/src/file/keydbcfg.c +++ b/src/file/keydbcfg.c @@ -1,6 +1,6 @@ /* * This file is part of libaacs - * Copyright (C) 2010 npzacs + * Copyright (C) 2010-2013 npzacs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -499,7 +499,7 @@ int cache_get(const char *name, uint32_t *version, uint32_t *len, void *buf) int cache_remove(const char *name) { char *file = _cache_file(name); - int result = !remove(name); + int result = !remove(file); if (!result) { DEBUG(DBG_FILE, "Error removing %s\n", file); } _______________________________________________ libaacs-devel mailing list libaacs-devel@videolan.org https://mailman.videolan.org/listinfo/libaacs-devel