Mercurial > hg > xmms-sid
diff src/xs_slsup.c @ 763:61a527ac3baa
Cleanups, remove useless function.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 05 Nov 2012 22:39:12 +0200 |
parents | 55eea3fa8868 |
children | 5048b4799310 |
line wrap: on
line diff
--- a/src/xs_slsup.c Mon Nov 05 22:38:41 2012 +0200 +++ b/src/xs_slsup.c Mon Nov 05 22:39:12 2012 +0200 @@ -100,8 +100,8 @@ if (xs_cfg.stilDBEnable && xs_stildb_db) { if (xs_cfg.hvscPath) { /* Remove postfixed directory separator from HVSC-path */ - tmpFilename = xs_strrchr(xs_cfg.hvscPath, '/'); - if (tmpFilename && (tmpFilename[1] == 0)) + tmpFilename = strrchr(xs_cfg.hvscPath, '/'); + if (tmpFilename && tmpFilename[1] == 0) tmpFilename[0] = 0; /* Remove HVSC location-prefix from filename */