From 067e3f031a2107c69d287d89b9543fbfe5c0a571 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko 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 :) --- 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