more f*n places for d_nam<e>len
authorWilfried Goesgens <dothebart@citadel.org>
Thu, 7 Nov 2013 21:53:05 +0000 (22:53 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Thu, 7 Nov 2013 21:53:05 +0000 (22:53 +0100)
citadel/modules/network/serv_netspool.c
libcitadel/lib/mime_parser.c

index 62afec6..96ac8bf 100644 (file)
@@ -978,7 +978,7 @@ void network_consolidate_spoolout(HashList *working_ignetcfg, HashList *the_netm
               (filedir_entry != NULL))
        {
 #ifdef _DIRENT_HAVE_D_NAMLEN
-               d_namelen = filedir_entry->d_namelen;
+               d_namelen = filedir_entry->d_namlen;
 
 #else
                d_namelen = strlen(filedir_entry->d_name);
index 723140d..1fc037d 100644 (file)
@@ -1057,8 +1057,8 @@ int LoadIconDir(const char *DirName)
        {
                char *MinorPtr;
                char *PStart;
-#ifdef _DIRENT_HAVE_D_NAMELEN
-               d_namelen = filedir_entry->d_namelen;
+#ifdef _DIRENT_HAVE_D_NAMLEN
+               d_namelen = filedir_entry->d_namlen;
 #else
                d_namelen = strlen(filedir_entry->d_name);
 #endif