From bd19a62c869354cc063cf3cc527fdb4973a34796 Mon Sep 17 00:00:00 2001 From: vda Date: Fri, 10 Nov 2006 23:25:53 +0000 Subject: wget: fix error message. Bad: wget http://127.0.0.1:81/fgdg/Makefile Connecting to 127.0.0.1[127.0.0.1]:81 : HTTP/1.0 404 Not Foundror 404 Not Found Good: wget http://127.0.0.1:81/fgdg/Makefile Connecting to 127.0.0.1[127.0.0.1]:81 get: server returned error: HTTP/1.0 404 Not Found nslookup: fix my mistake applets: make Bernhard Fischer happy :) git-svn-id: svn://busybox.net/trunk/busybox@16528 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- libbb/chomp.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libbb') diff --git a/libbb/chomp.c b/libbb/chomp.c index 6165b83bc..eab770760 100644 --- a/libbb/chomp.c +++ b/libbb/chomp.c @@ -8,15 +8,12 @@ * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. */ -#include -#include #include "libbb.h" - void chomp(char *s) { char *lc = last_char_is(s, '\n'); - if(lc) + if (lc) *lc = 0; } -- cgit v1.2.3-55-g6feb