summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-10-12 19:29:44 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-10-12 19:29:44 +0000
commita6dbb08a48903cb8f31fad2cf2d1cffa92bd4808 (patch)
treef7f2113941a2dc0385080baa7656ead41f45f834 /networking
parent12f5676cce3b2e04668df3f18f94f1a3c7fdbb9e (diff)
downloadbusybox-w32-a6dbb08a48903cb8f31fad2cf2d1cffa92bd4808.tar.gz
busybox-w32-a6dbb08a48903cb8f31fad2cf2d1cffa92bd4808.tar.bz2
busybox-w32-a6dbb08a48903cb8f31fad2cf2d1cffa92bd4808.zip
small style fixes
Diffstat (limited to 'networking')
-rw-r--r--networking/ftpgetput.c2
-rw-r--r--networking/udhcp/dhcpc.c6
2 files changed, 4 insertions, 4 deletions
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)
78 /* Connect to the command socket */ 78 /* Connect to the command socket */
79 control_stream = fdopen(xconnect(server->s_in), "r+"); 79 control_stream = fdopen(xconnect(server->s_in), "r+");
80 if (control_stream == NULL) { 80 if (control_stream == NULL) {
81 bb_perror_msg_and_die("Couldnt open control stream"); 81 bb_perror_msg_and_die("cannot open control stream");
82 } 82 }
83 83
84 if (ftpcmd(NULL, NULL, control_stream, buf) != 220) { 84 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[])
448 } 448 }
449 449
450 if ((message = get_option(&packet, DHCP_MESSAGE_TYPE)) == NULL) { 450 if ((message = get_option(&packet, DHCP_MESSAGE_TYPE)) == NULL) {
451 bb_error_msg("Couldnt get option from packet - ignoring"); 451 bb_error_msg("cannot get option from packet - ignoring");
452 continue; 452 continue;
453 } 453 }
454 454
@@ -467,7 +467,7 @@ int udhcpc_main(int argc, char *argv[])
467 timeout = now; 467 timeout = now;
468 packet_num = 0; 468 packet_num = 0;
469 } else { 469 } else {
470 bb_error_msg("No server ID in message"); 470 bb_error_msg("no server ID in message");
471 } 471 }
472 } 472 }
473 break; 473 break;
@@ -478,7 +478,7 @@ int udhcpc_main(int argc, char *argv[])
478 if (*message == DHCPACK) { 478 if (*message == DHCPACK) {
479 temp = get_option(&packet, DHCP_LEASE_TIME); 479 temp = get_option(&packet, DHCP_LEASE_TIME);
480 if (!temp) { 480 if (!temp) {
481 bb_error_msg("No lease time with ACK, using 1 hour lease"); 481 bb_error_msg("no lease time with ACK, using 1 hour lease");
482 lease = 60 * 60; 482 lease = 60 * 60;
483 } else { 483 } else {
484 lease = ntohl(*(uint32_t*)temp); 484 lease = ntohl(*(uint32_t*)temp);