summaryrefslogtreecommitdiffstats
path: root/src/file_spf.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-06-01 18:06:35 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-06-01 18:06:35 +0200
commit65dbe3d4baf4d486bb8119ec197a20697ba4ca28 (patch)
tree1ed5c06affe799b8c4d8efd188a5b4197c6b9dcf /src/file_spf.c
parent8ab840414394e1e8454413485c578d75fd8ab68f (diff)
constify more variables
Diffstat (limited to 'src/file_spf.c')
-rw-r--r--src/file_spf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/file_spf.c b/src/file_spf.c
index 4524d8d..df7073a 100644
--- a/src/file_spf.c
+++ b/src/file_spf.c
@@ -82,8 +82,7 @@ static void file_check_spf(file_recovery_t *file_recovery)
while(1)
{
int i;
- int taille;
- taille=fread(buffer,1,READ_SIZE,file_recovery->handle);
+ const int taille=fread(buffer,1,READ_SIZE,file_recovery->handle);
if(taille<512)
{
file_recovery->file_size=0;