diff options
| author | Aymeric Moizard <amoizard@gmail.com> | 2015-01-05 12:03:36 +0100 |
|---|---|---|
| committer | Aymeric Moizard <amoizard@gmail.com> | 2015-01-05 12:03:36 +0100 |
| commit | cc2a32d64d0eca32dfba0e612f5e9c93105641d3 (patch) | |
| tree | b43174eee36130d8753bbe96a7e93c7cfe3e3c35 | |
| parent | 8fcc5bd64bcd67be1234ef250a85bcd16005f301 (diff) | |
| download | exosip-cc2a32d64d0eca32dfba0e612f5e9c93105641d3.tar.gz | |
initialize j_stop_ua to 1
| -rw-r--r-- | src/eXconf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/eXconf.c b/src/eXconf.c index c12373c..3fd250b 100644 --- a/src/eXconf.c +++ b/src/eXconf.c @@ -625,8 +625,10 @@ eXosip_malloc (void) { struct eXosip_t *ptr = (struct eXosip_t *) osip_malloc (sizeof (eXosip_t)); - if (ptr) + if (ptr) { memset (ptr, 0, sizeof (eXosip_t)); + ptr->j_stop_ua = -1; + } return ptr; } |
