Explorar o código

ims_isc : fixed wrong type for memcpy

fixed wrong type for memcpy
Yasin CANER %!s(int64=6) %!d(string=hai) anos
pai
achega
a704f7d68d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/modules/ims_isc/third_party_reg.c

+ 1 - 1
src/modules/ims_isc/third_party_reg.c

@@ -173,7 +173,7 @@ int build_p_associated_uri(ims_subscription* s) {
                 if (cnt == 0 && cnttel == 0){
                     *p++ = '<';
                 } else if(cnttel != 0 && cnt == 0){
-                    memcpy(p, ", <", 2);
+                    memcpy(p, ", <", 3);
                     p += 3;
                 } else {
                     memcpy(p, ">, <", 4);