~ubuntu-branches/debian/sid/kamailio/sid

« back to all changes in this revision

Viewing changes to sip_msg_clone.c

  • Committer: Package Import Robot
  • Author(s): Victor Seva
  • Date: 2014-01-06 11:47:13 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20140106114713-t8xidp4arzrnyeya
Tags: 4.1.1-1
* New upstream release
* debian/patches:
  - add upstream fixes
* Added tls outbound websocket autheph dnssec modules
  - openssl exception added to their license
* removing sparc and ia64 from supported archs
  for mono module (Closes: #728915)

Show diffs side-by-side

added added

removed removed

Lines of Context:
542
542
        /* instance is not cloned (it's reset instead) */
543
543
        new_msg->instance.s=0;
544
544
        new_msg->instance.len=0;
 
545
        /* ruid is not cloned (it's reset instead) */
 
546
        new_msg->ruid.s=0;
 
547
        new_msg->ruid.len=0;
 
548
        /* location ua is not cloned (it's reset instead) */
 
549
        new_msg->location_ua.s=0;
 
550
        new_msg->location_ua.len=0;
545
551
        /* reg_id is not cloned (it's reset instead) */
546
552
        new_msg->reg_id=0;
 
553
        /* local data struct is not cloned (it's reset instead) */
 
554
        memset(&new_msg->ldv, 0, sizeof(msg_ldata_t));
547
555
        /* message buffers(org and scratch pad) */
548
556
        memcpy( p , org_msg->buf, org_msg->len);
549
557
        /* ZT to be safer */