[Telepathy-commits] [telepathy-sofiasip/master] tpsip_handle_normalize: raise InvalidHandle on error

Simon McVittie "http://smcv.pseudorandom.co.uk/" at dhansak.collabora.co.uk
Fri Jan 16 08:46:41 PST 2009


As recently agreed in telepathy-spec.
---
 src/sip-connection-helpers.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/sip-connection-helpers.c b/src/sip-connection-helpers.c
index e60d5f3..ae4db89 100644
--- a/src/sip-connection-helpers.c
+++ b/src/sip-connection-helpers.c
@@ -837,7 +837,7 @@ tpsip_handle_normalize (TpHandleRepoIface *repo,
 
 error:
   if (retval == NULL)
-      g_set_error (error, TP_ERRORS, TP_ERROR_INVALID_ARGUMENT,
+      g_set_error (error, TP_ERRORS, TP_ERROR_INVALID_HANDLE,
           "invalid SIP URI");
 
   su_home_deinit (home);
-- 
1.5.6.5



More information about the Telepathy-commits mailing list