[farsight2/master] Use a more appropriate error no

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:24:14 PST 2008


---
 transmitters/rawudp/fs-rawudp-component.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/transmitters/rawudp/fs-rawudp-component.c b/transmitters/rawudp/fs-rawudp-component.c
index 0c221b3..5ba9bc8 100644
--- a/transmitters/rawudp/fs-rawudp-component.c
+++ b/transmitters/rawudp/fs-rawudp-component.c
@@ -920,7 +920,7 @@ fs_rawudp_component_start_stun (FsRawUdpComponent *self, GError **error)
       self->priv->stun_cookie, 0);
   if (!msg)
   {
-    g_set_error (error, FS_ERROR, FS_ERROR_NETWORK,
+    g_set_error (error, FS_ERROR, FS_ERROR_INTERNAL,
         "Could not create a new STUN binding request");
     return FALSE;
   }
-- 
1.5.6.5




More information about the farsight-commits mailing list