summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-04-17 18:05:11 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-04-17 18:05:11 -0400
commit7bcd1ca5c57f51fb743cceff2de8a5fcf9e5a177 (patch)
treef911724055412ff4d2d6cd65b89145a028ba22fa /tests
parentbc320d41be0c13f5be02c0d56c465c2fd1bffe92 (diff)
downloadgupnp-igd-7bcd1ca5c57f51fb743cceff2de8a5fcf9e5a177.tar.gz
Renamed callback to match signal name
Diffstat (limited to 'tests')
-rw-r--r--tests/gtest/gupnp-simple-igd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gtest/gupnp-simple-igd.c b/tests/gtest/gupnp-simple-igd.c
index f88a871..8c35d5a 100644
--- a/tests/gtest/gupnp-simple-igd.c
+++ b/tests/gtest/gupnp-simple-igd.c
@@ -155,7 +155,7 @@ delete_port_mapping_cb (GUPnPService *service,
}
static void
-mapping_external_port_cb (GUPnPSimpleIgd *igd, gchar *proto,
+mapped_external_port_cb (GUPnPSimpleIgd *igd, gchar *proto,
gchar *external_ip, gchar *replaces_external_ip, guint external_port,
gchar *local_ip, guint local_port, gchar *description, gpointer user_data)
{
@@ -257,7 +257,7 @@ run_gupnp_simple_igd_test (GMainContext *mainctx, GUPnPSimpleIgd *igd)
g_signal_connect (igd, "mapped-external-port",
- G_CALLBACK (mapping_external_port_cb), NULL);
+ G_CALLBACK (mapped_external_port_cb), NULL);
g_signal_connect (igd, "error-mapping-port",
G_CALLBACK (error_mapping_port_cb), NULL);