diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gtcp_proxy/gtcp-proxy.c | 4 | ||||
-rw-r--r-- | tests/tcp_proxy/main.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/gtcp_proxy/gtcp-proxy.c b/tests/gtcp_proxy/gtcp-proxy.c index 39555c76..7b6312b0 100644 --- a/tests/gtcp_proxy/gtcp-proxy.c +++ b/tests/gtcp_proxy/gtcp-proxy.c @@ -611,7 +611,7 @@ static gboolean on_delete_event(GtkWidget *widget, GdkEvent *ev, gpointer data) static void on_destroy(GtkWidget *widget, gpointer data) { - /* this will destory all windows and return control to gtk_main() */ + /* this will destroy all windows and return control to gtk_main() */ gtk_main_quit(); } @@ -673,6 +673,6 @@ static void on_clear_clicked(GtkWidget *widget, gpointer data) static void on_quit_clicked(GtkWidget *widget, gpointer data) { - /* this will destory all windows and return control to gtk_main() */ + /* this will destroy all windows and return control to gtk_main() */ gtk_main_quit(); } diff --git a/tests/tcp_proxy/main.c b/tests/tcp_proxy/main.c index 2d283ed9..aa276c44 100644 --- a/tests/tcp_proxy/main.c +++ b/tests/tcp_proxy/main.c @@ -454,7 +454,7 @@ main_loop(char *local_port, char *remote_ip, char *remote_port, int hexdump) g_writeln("bind failed"); } - /* listen for an incomming connection */ + /* listen for an incoming connection */ if (error == 0) { error = g_tcp_listen(lis_sck); @@ -465,7 +465,7 @@ main_loop(char *local_port, char *remote_ip, char *remote_port, int hexdump) } } - /* accept an incomming connection */ + /* accept an incoming connection */ if (error == 0) { while ((!g_terminated) && (error == 0)) |