diff options
author | joerg <joerg@pkgsrc.org> | 2008-04-21 21:15:53 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-04-21 21:15:53 +0000 |
commit | 5e626bd59cf48b9c33444a406013d9220cffa103 (patch) | |
tree | 77d7114dde2f02a0f86a09dff02a3ccc6db9e83a /net/libfetch | |
parent | f3a597c1659537795916fb8bb8c3c6171f79217b (diff) | |
download | pkgsrc-5e626bd59cf48b9c33444a406013d9220cffa103.tar.gz |
Fix typo in delimiter.
Diffstat (limited to 'net/libfetch')
-rw-r--r-- | net/libfetch/files/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/libfetch/files/common.c b/net/libfetch/files/common.c index fe56ab27d94..15166d39602 100644 --- a/net/libfetch/files/common.c +++ b/net/libfetch/files/common.c @@ -1,4 +1,4 @@ -/* $NetBSD: common.c,v 1.8 2008/04/19 14:49:23 joerg Exp $ */ +/* $NetBSD: common.c,v 1.9 2008/04/21 21:15:53 joerg Exp $ */ /*- * Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav * Copyright (c) 2008 Joerg Sonnenberger <joerg@NetBSD.org> @@ -661,7 +661,7 @@ fetch_add_entry(struct url_list *ue, struct url *base, const char *name) memcpy(tmp_name, base->doc, base_doc_len); tmp_name[base_doc_len] = '/'; memcpy(tmp_name + base_doc_len + 1, name, name_len); - tmp_name[base_doc_len + name_len + 1] = '/'; + tmp_name[base_doc_len + name_len + 1] = '\0'; tmp->doc = tmp_name; tmp->offset = 0; tmp->length = 0; |