[Telepathy-commits] [telepathy-sofiasip/master] ...and yet more

Mikhail Zabaluev mikhail.zabaluev at nokia.com
Tue Oct 14 01:03:40 PDT 2008


---
 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 19d556e..591b247 100644
--- a/src/sip-connection-helpers.c
+++ b/src/sip-connection-helpers.c
@@ -748,7 +748,7 @@ priv_lowercase_url_part (su_home_t *home, const char *src)
     return src;
 
   res = su_alloc (home, n + 1);
-  strncpy (res, src, i);
+  memcpy (res, src, i);
   for (; i < n; i++)
     res[i] = g_ascii_tolower (src[i]);
   res[i] = '\0';
-- 
1.5.6.5



More information about the Telepathy-commits mailing list