Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Marvin Scholz
libaacs
Commits
0837c5fa
Commit
0837c5fa
authored
Dec 17, 2013
by
npzacs
Browse files
Fix cache_remove()
parent
5406e032
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/file/keydbcfg.c
View file @
0837c5fa
/*
* 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
(
nam
e
);
int
result
=
!
remove
(
fil
e
);
if
(
!
result
)
{
DEBUG
(
DBG_FILE
,
"Error removing %s
\n
"
,
file
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment