summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Woodward2005-02-21 00:59:04 +0000
committerJason Woodward2005-02-21 00:59:04 +0000
commit7878287412b013acd8b7b86e6634425621e77df7 (patch)
tree0d499136252a57a812e3dfcf6951616ffde6f7dd /src
parenta41b7c82a4600cb353c85ab87b627e3996a634cb (diff)
downloadslapt-get-7878287412b013acd8b7b86e6634425621e77df7.tar.gz
fixed source copy truncation
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 35caec3..2b7dc68 100644
--- a/src/configuration.c
+++ b/src/configuration.c
@@ -226,7 +226,7 @@ void add_source(struct source_list *list,const char *s){
list->url[list->count] = strncat(
list->url[list->count],
s,
- strlen(s) - 1
+ strlen(s)
);
list->url[list->count] = strncat(
list->url[list->count],