The change was for debug level per module - the parameters are module name and length of module name. The next should do it:

-int nsys_log = get_debug_level ();
+int nsys_log = get_debug_level (MOD_NAME, sizeof(MOD_NAME)-1);

Cheers,
Daniel

On 10/7/13 2:50 PM, Robert Boisvert wrote:
Looks like Daniel made a commit on 5/17/13 that changed the get_debug_level () API call.  Where can I find documentation on how to use the new call?
 
Thanks,
Bob


On Mon, Oct 7, 2013 at 6:56 AM, Hugh Waite <hugh.waite@crocodile-rcs.com> wrote:
Hi,
When I try to build (using the .spec file for CentOS) I get this compile error.

mohq_funcs.c: In function 'mohq_debug':
mohq_funcs.c:2327: error: too few arguments to function 'get_debug_level'

Hugh



On 07/10/2013 09:18, Timo Teras wrote:
Module: sip-router
Branch: master
Commit: ca060f98bbecb407d5d29cbe19cec821d3990330
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ca060f98bbecb407d5d29cbe19cec821d3990330

Author: Timo Teräs <timo.teras@iki.fi>
Committer: Timo Teräs <timo.teras@iki.fi>
Date:   Mon Oct  7 11:18:02 2013 +0300

Merge branch 'tteras/mohqueue'

---




_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


--
Hugh Waite
Principal Design Engineer
Crocodile RCS Ltd.



_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev



_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Trainings - Berlin, Nov 25-28; Miami, Nov 18-20, 2013
  - more details about Kamailio trainings at http://www.asipto.com -