aboutsummaryrefslogtreecommitdiff
path: root/networking/tcpudp.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-11-13 09:08:27 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-11-13 09:08:27 +0100
commit6331cf059ccfdf35f4e5a505cbae885094cc41b0 (patch)
treeccb4b4f0d96d9636861a75f7fc6c97b8b15bd306 /networking/tcpudp.c
parentf4fee418ae9f5308b4d32bc8d4e618f779f3203f (diff)
downloadbusybox-w32-6331cf059ccfdf35f4e5a505cbae885094cc41b0.tar.gz
busybox-w32-6331cf059ccfdf35f4e5a505cbae885094cc41b0.tar.bz2
busybox-w32-6331cf059ccfdf35f4e5a505cbae885094cc41b0.zip
*: use "can't" instead of "cannot"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/tcpudp.c')
-rw-r--r--networking/tcpudp.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/networking/tcpudp.c b/networking/tcpudp.c
index 98a2aa8c0..25b3319ec 100644
--- a/networking/tcpudp.c
+++ b/networking/tcpudp.c
@@ -251,14 +251,14 @@ int tcpudpsvd_main(int argc UNUSED_PARAM, char **argv)
251 if (!cert) cert = "./cert.pem"; 251 if (!cert) cert = "./cert.pem";
252 if (!key) key = cert; 252 if (!key) key = cert;
253 if (matrixSslOpen() < 0) 253 if (matrixSslOpen() < 0)
254 fatal("cannot initialize ssl"); 254 fatal("can't initialize ssl");
255 if (matrixSslReadKeys(&keys, cert, key, 0, ca) < 0) { 255 if (matrixSslReadKeys(&keys, cert, key, 0, ca) < 0) {
256 if (client) 256 if (client)
257 fatal("cannot read cert, key, or ca file"); 257 fatal("can't read cert, key, or ca file");
258 fatal("cannot read cert or key file"); 258 fatal("can't read cert or key file");
259 } 259 }
260 if (matrixSslNewSession(&ssl, keys, 0, SSL_FLAGS_SERVER) < 0) 260 if (matrixSslNewSession(&ssl, keys, 0, SSL_FLAGS_SERVER) < 0)
261 fatal("cannot create ssl session"); 261 fatal("can't create ssl session");
262#endif 262#endif
263 263
264 sig_block(SIGCHLD); 264 sig_block(SIGCHLD);
@@ -425,7 +425,7 @@ int tcpudpsvd_main(int argc UNUSED_PARAM, char **argv)
425 if (opts & OPT_h) { 425 if (opts & OPT_h) {
426 free_me1 = remote_hostname = xmalloc_sockaddr2host_noport(&remote.u.sa); 426 free_me1 = remote_hostname = xmalloc_sockaddr2host_noport(&remote.u.sa);
427 if (!remote_hostname) { 427 if (!remote_hostname) {
428 bb_error_msg("cannot look up hostname for %s", remote_addr); 428 bb_error_msg("can't look up hostname for %s", remote_addr);
429 remote_hostname = remote_addr; 429 remote_hostname = remote_addr;
430 } 430 }
431 } 431 }
@@ -441,7 +441,7 @@ int tcpudpsvd_main(int argc UNUSED_PARAM, char **argv)
441 if (!local_hostname) { 441 if (!local_hostname) {
442 free_me2 = local_hostname = xmalloc_sockaddr2host_noport(&local.u.sa); 442 free_me2 = local_hostname = xmalloc_sockaddr2host_noport(&local.u.sa);
443 if (!local_hostname) 443 if (!local_hostname)
444 bb_error_msg_and_die("cannot look up hostname for %s", local_addr); 444 bb_error_msg_and_die("can't look up hostname for %s", local_addr);
445 } 445 }
446 /* else: local_hostname is not NULL, but is NOT malloced! */ 446 /* else: local_hostname is not NULL, but is NOT malloced! */
447 } 447 }