That's great. Again thank you so much for you help and cooperation.

Thank you.




On Fri, Aug 15, 2014 at 4:25 PM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:
OK, I've just pushed the patch to master branch -- thanks for this contribution.

Cheers,
Daniel


On 14/08/14 21:45, Muhammad Shahzad wrote:


On Fri, Aug 15, 2014 at 12:15 AM, Muhammad Shahzad <shaheryarkh@gmail.com> wrote:
oops, spoke too soon. These are not declared static.

Anyways, let me apply your suggestion.

Thank you.




On Fri, Aug 15, 2014 at 12:13 AM, Muhammad Shahzad <shaheryarkh@gmail.com> wrote:
Sorry for late relay, we have had internet blockage due to mass protests here.

Anyways, i think the variables are declared static, so there should be only one copy of them in memory. But anyways let me analyze it in gdb.

Thank you.




On Thu, Aug 14, 2014 at 12:21 PM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:
There are variable declared in corex_nio.h and this file is included in two .c files. That results in separate global variables in both .c files.

You have to declare them in a .c file and in the .h with 'extern'.

Cheers,
Daniel


On 13/08/14 15:05, Muhammad Shahzad wrote:
OK, no problem.

Thank you.




On Wed, Aug 13, 2014 at 2:52 PM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:
I will get back to it and push it if all ok -- got caught by some other stuff meanwhile.

Cheers,
Daniel


On 08/08/14 15:08, Muhammad Shahzad wrote:

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Next Kamailio Advanced Trainings 2014 - http://www.asipto.com
Sep 22-25, Berlin, Germany ::: Oct 15-17, San Francisco, USA


-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Next Kamailio Advanced Trainings 2014 - http://www.asipto.com
Sep 22-25, Berlin, Germany ::: Oct 15-17, San Francisco, USA




-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Next Kamailio Advanced Trainings 2014 - http://www.asipto.com
Sep 22-25, Berlin, Germany ::: Oct 15-17, San Francisco, USA