diff --git a/usr.bin/fetch/util.c b/usr.bin/fetch/util.c index 08103a009cbe..aab9278e28fd 100644 --- a/usr.bin/fetch/util.c +++ b/usr.bin/fetch/util.c @@ -26,7 +26,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: util.c,v 1.1 1997/01/30 21:43:44 wollman Exp $ */ #include @@ -148,6 +148,7 @@ percent_decode(const char *uri) *s++ = *uri++; } } + *s = '\0'; return rv; }