From a6dbb08a48903cb8f31fad2cf2d1cffa92bd4808 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 12 Oct 2006 19:29:44 +0000 Subject: small style fixes --- networking/ftpgetput.c | 2 +- networking/udhcp/dhcpc.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'networking') diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c index 5d13e289b..47126ee83 100644 --- a/networking/ftpgetput.c +++ b/networking/ftpgetput.c @@ -78,7 +78,7 @@ static FILE *ftp_login(ftp_host_info_t *server) /* Connect to the command socket */ control_stream = fdopen(xconnect(server->s_in), "r+"); if (control_stream == NULL) { - bb_perror_msg_and_die("Couldnt open control stream"); + bb_perror_msg_and_die("cannot open control stream"); } if (ftpcmd(NULL, NULL, control_stream, buf) != 220) { diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c index f2cf82f05..e2ddf4fb1 100644 --- a/networking/udhcp/dhcpc.c +++ b/networking/udhcp/dhcpc.c @@ -448,7 +448,7 @@ int udhcpc_main(int argc, char *argv[]) } if ((message = get_option(&packet, DHCP_MESSAGE_TYPE)) == NULL) { - bb_error_msg("Couldnt get option from packet - ignoring"); + bb_error_msg("cannot get option from packet - ignoring"); continue; } @@ -467,7 +467,7 @@ int udhcpc_main(int argc, char *argv[]) timeout = now; packet_num = 0; } else { - bb_error_msg("No server ID in message"); + bb_error_msg("no server ID in message"); } } break; @@ -478,7 +478,7 @@ int udhcpc_main(int argc, char *argv[]) if (*message == DHCPACK) { temp = get_option(&packet, DHCP_LEASE_TIME); if (!temp) { - bb_error_msg("No lease time with ACK, using 1 hour lease"); + bb_error_msg("no lease time with ACK, using 1 hour lease"); lease = 60 * 60; } else { lease = ntohl(*(uint32_t*)temp); -- cgit v1.2.3