pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/libfetch/files Fix typo in delimiter.
details: https://anonhg.NetBSD.org/pkgsrc/rev/d7aeb86a2d89
branches: trunk
changeset: 541407:d7aeb86a2d89
user: joerg <joerg%pkgsrc.org@localhost>
date: Mon Apr 21 21:15:53 2008 +0000
description:
Fix typo in delimiter.
diffstat:
net/libfetch/files/common.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 0e41170b946a -r d7aeb86a2d89 net/libfetch/files/common.c
--- a/net/libfetch/files/common.c Mon Apr 21 20:11:58 2008 +0000
+++ b/net/libfetch/files/common.c Mon Apr 21 21:15:53 2008 +0000
@@ -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@localhost>
@@ -661,7 +661,7 @@
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;
Home |
Main Index |
Thread Index |
Old Index