[pacman-dev] [PATCH libalpm] filecache_find_url: dereference the 'filebase' pointer
Signed-off-by: Ryo Munakata
'filebase' is a pointer to char
and we want to check whether the 'url' contains a filename
by checking the result of strrchr points to '\0'
So we have to dereference 'filebase' when doing that
Nothing but the commit message has changed from v1
Signed-off-by: Ryo Munakata
participants (1)
-
Ryo Munakata