[farsight2/master] Fix warning
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:24:46 PST 2008
---
fs-upnp-simple-igd.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/fs-upnp-simple-igd.c b/fs-upnp-simple-igd.c
index a45c259..60768cc 100644
--- a/fs-upnp-simple-igd.c
+++ b/fs-upnp-simple-igd.c
@@ -660,7 +660,6 @@ _service_proxy_delete_port_mapping (GUPnPServiceProxy *proxy,
GUPnPServiceProxyAction *action,
gpointer user_data)
{
- FsUpnpSimpleIgd *self = user_data;
GError *error = NULL;
@@ -668,7 +667,7 @@ _service_proxy_delete_port_mapping (GUPnPServiceProxy *proxy,
NULL))
{
g_return_if_fail (error);
- g_warning ("Error deleting port mapping: %d", error->message);
+ g_warning ("Error deleting port mapping: %s", error->message);
}
g_clear_error (&error);
}
--
1.5.6.5
More information about the farsight-commits
mailing list