X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmodules%2Fctdlproto%2Fserv_rooms.c;fp=citadel%2Fmodules%2Fctdlproto%2Fserv_rooms.c;h=deeeb813360d9874d8d9d7863ac174b1b66066a9;hp=2755da8162ee2d69b49a854c2d314e8edf79b97c;hb=f88d67da640fc36def6a9c7e14e6e0ac793273a9;hpb=5fef73565bdc59c4b578c5f6e70efc8b9b42fe55 diff --git a/citadel/modules/ctdlproto/serv_rooms.c b/citadel/modules/ctdlproto/serv_rooms.c index 2755da816..deeeb8133 100644 --- a/citadel/modules/ctdlproto/serv_rooms.c +++ b/citadel/modules/ctdlproto/serv_rooms.c @@ -427,7 +427,7 @@ void cmd_rdir(char *cmdbuf) if (strcasecmp(filedir_entry->d_name, "filedir") && filedir_entry->d_name[0] != '.') { #ifdef _DIRENT_HAVE_D_NAMELEN - d_namelen = filedir_entry->d_namelen; + d_namelen = filedir_entry->d_namlen; #else d_namelen = strlen(filedir_entry->d_name); #endif