aboutsummaryrefslogtreecommitdiffstats
path: root/tcp.c
diff options
context:
space:
mode:
authorSteve Slaven <bpk@hoopajoo.net>2005-03-21 18:40:47 (GMT)
committerSteve Slaven <bpk@hoopajoo.net>2005-03-21 18:40:47 (GMT)
commitcb2555e19237930a25989a7cd2bee4589f1d515d (patch)
tree524bf902278ca892821a6be886ac3b51cfa9910f /tcp.c
parent22e2e8b44054a4e95dd473079f0e7800284b0d20 (diff)
downloadpowwow-cb2555e19237930a25989a7cd2bee4589f1d515d.zip
powwow-cb2555e19237930a25989a7cd2bee4589f1d515d.tar.gz
powwow-cb2555e19237930a25989a7cd2bee4589f1d515d.tar.bz2
Convert all `' to "" as per the powwow-1.2.6-dain patch. Note I did not apply
the patch since 1.2.7 has some differences to 1.2.5 with regard to command handling and things, so I'm applying the diff parts by hand mostly
Diffstat (limited to 'tcp.c')
-rw-r--r--tcp.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tcp.c b/tcp.c
index 3d0a3fe..31c90c0 100644
--- a/tcp.c
+++ b/tcp.c
@@ -769,7 +769,7 @@ void tcp_open __P4 (char *,id, char *,initstring, char *,host, int,port)
return;
}
if (tcp_find(id)>=0) {
- PRINTF("#connection `%s' already open.\n", id);
+ PRINTF("#connection \"%s\" already open.\n", id);
return;
}
@@ -816,7 +816,7 @@ void tcp_open __P4 (char *,id, char *,initstring, char *,host, int,port)
tcp_count++;
if (echo_int && tcp_count) {
- PRINTF("#default connection is now `%s'\n", id);
+ PRINTF("#default connection is now \"%s\"\n", id);
}
tcp_set_main(tcp_fd = newtcp_fd);
if (opt_sendsize)
@@ -845,7 +845,7 @@ void tcp_close __P1 (char *,id)
if (id) { /* #zap cmd */
if ((sfd = tcp_find(id)) < 0) {
- tty_printf("#no such connection: `%s'\n", id);
+ tty_printf("#no such connection: \"%s\"\n", id);
return;
}
} else
@@ -856,7 +856,7 @@ void tcp_close __P1 (char *,id)
abort_edit_fd(sfd);
- tty_printf("#connection on `%s' closed.\n", CONN_LIST(sfd).id);
+ tty_printf("#connection on \"%s\" closed.\n", CONN_LIST(sfd).id);
if (sfd == tcp_main_fd) { /* main connection closed */
if (tcp_count == 1) { /* was last connection */
@@ -870,7 +870,7 @@ void tcp_close __P1 (char *,id)
if (!CONN_INDEX(i).id || CONN_INDEX(i).fd == sfd
|| (CONN_INDEX(i).flags & SPAWN))
continue;
- tty_printf("#default connection is now `%s'\n", CONN_INDEX(i).id);
+ tty_printf("#default connection is now \"%s\"\n", CONN_INDEX(i).id);
tcp_main_fd = CONN_INDEX(i).fd;
break;
}
@@ -940,7 +940,7 @@ void tcp_spawn __P2 (char *,id, char *,cmd)
int i, childpid, sockets[2];
if (tcp_find(id)>=0) {
- PRINTF("#connection `%s' already open.\n", id);
+ PRINTF("#connection \"%s\" already open.\n", id);
return;
}
if (socketpair(AF_UNIX, SOCK_STREAM, 0, sockets) < 0) {
@@ -1011,7 +1011,7 @@ void tcp_spawn __P2 (char *,id, char *,cmd)
conn_max_index = i+1;
if (echo_int) {
- PRINTF("#successfully spawned `%s' with pid %d\n", id, childpid);
+ PRINTF("#successfully spawned \"%s\" with pid %d\n", id, childpid);
}
/*