X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Ffolder_read.c;h=d59e7310da81517c3ec9ca224ed91d170927e244;hb=104b36e0a37bafe6620062334fa78d484dce321c;hp=bb88659824805f138c3d68605cbf658de64db2e3;hpb=5dd6771b28c257af405d7248639ed0e3bcdce38b;p=mmh diff --git a/sbr/folder_read.c b/sbr/folder_read.c index bb88659..d59e731 100644 --- a/sbr/folder_read.c +++ b/sbr/folder_read.c @@ -57,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 @@ -106,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 */