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 <rep.nop@aon.at> happy :)
This commit is contained in:
Denis Vlasenko
2006-11-10 23:25:53 +00:00
parent 07159f0f0e
commit 067e3f031a
4 changed files with 8 additions and 8 deletions

View File

@ -8,15 +8,12 @@
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
#include <stdio.h>
#include <string.h>
#include "libbb.h"
void chomp(char *s)
{
char *lc = last_char_is(s, '\n');
if(lc)
if (lc)
*lc = 0;
}