aboutsummaryrefslogtreecommitdiffstats
path: root/src/dirvec.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-08 11:07:58 +0200
committerEric Wong <normalperson@yhbt.net>2008-10-11 19:21:48 -0700
commita76121ea81f452c0d5e21d6a2fb6f200a80faf7b (patch)
treee59b04f16d56532284747f99fb5631cfd6b24c70 /src/dirvec.c
parent4629f646077109f7c6185aab92560da52c237412 (diff)
downloadmpd-a76121ea81f452c0d5e21d6a2fb6f200a80faf7b.tar.gz
mpd-a76121ea81f452c0d5e21d6a2fb6f200a80faf7b.tar.xz
mpd-a76121ea81f452c0d5e21d6a2fb6f200a80faf7b.zip
directory: eliminate CamelCase
CamelCase is ugly, rename the functions. [ew: "directory_get_directory" was too confusing, using "directory_get_subdir" instead (old function was named "getSubDirectory")]
Diffstat (limited to 'src/dirvec.c')
-rw-r--r--src/dirvec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dirvec.c b/src/dirvec.c
index 9226fca74..3ec5b7af1 100644
--- a/src/dirvec.c
+++ b/src/dirvec.c
@@ -38,7 +38,7 @@ int dirvec_delete(struct dirvec *dv, struct directory *del)
for (i = dv->nr; --i >= 0; ) {
if (dv->base[i] != del)
continue;
- /* we _don't_ call freeDirectory() here */
+ /* we _don't_ call directory_free() here */
if (!--dv->nr) {
free(dv->base);
dv->base = NULL;