summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Woodward2005-02-13 01:38:53 +0000
committerJason Woodward2005-02-13 01:38:53 +0000
commit5904d31fca40c5800f8499157de4cbe45a16f0e3 (patch)
treec9159fa2320101e92539b421fcaabc6d4d008992 /src
parent4e091ce2de93d196a354308353ff942400eb2250 (diff)
downloadslapt-get-5904d31fca40c5800f8499157de4cbe45a16f0e3.tar.gz
moved exclude list increment within realloc test
Diffstat (limited to 'src')
-rw-r--r--src/configuration.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configuration.c b/src/configuration.c
index 4188876..d553500 100644
--- a/src/configuration.c
+++ b/src/configuration.c
@@ -219,9 +219,9 @@ static struct exclude_list *parse_exclude(char *line){
list->excludes = realloc_tmp;
list->excludes[ list->count ] = buffer;
list->excludes[ list->count ][strlen(buffer)] = '\0';
+ ++list->count;
}
- ++list->count;
position += (strlen(line + position) - strlen(pointer) );
}
continue;