X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Ffolder_read.c;h=d59e7310da81517c3ec9ca224ed91d170927e244;hb=104b36e0a37bafe6620062334fa78d484dce321c;hp=0dec537e29a848bffbd14708eb64a1db9472889d;hpb=008837e090c008e3afe7a9c8667070bafa091e62;p=mmh diff --git a/sbr/folder_read.c b/sbr/folder_read.c index 0dec537..d59e731 100644 --- a/sbr/folder_read.c +++ b/sbr/folder_read.c @@ -2,8 +2,6 @@ /* * folder_read.c -- initialize folder structure and read folder * - * $Id$ - * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for * complete copyright information. @@ -59,7 +57,7 @@ folder_read (char *name) if (access (name, W_OK) == -1) set_readonly (mp); - prefix_len = strlen(BACKUP_PREFIX); + prefix_len = strlen(backup_prefix); /* * Allocate a temporary place to record the @@ -108,7 +106,7 @@ folder_read (char *name) default: /* skip any files beginning with backup prefix */ - if (!strncmp (dp->d_name, BACKUP_PREFIX, prefix_len)) + if (!strncmp (dp->d_name, backup_prefix, prefix_len)) continue; /* skip the LINK file */