]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
Simplify para_basename().
authorAndre Noll <maan@systemlinux.org>
Sat, 29 Dec 2007 20:43:13 +0000 (21:43 +0100)
committerAndre Noll <maan@systemlinux.org>
Sat, 29 Dec 2007 20:43:13 +0000 (21:43 +0100)
No need to allocate additional memory. This saves a malloc/free
in the hot path of com_ls(), the only caller. Also take care for
the case basename == NULL.


No differences found