Const-ify Event::getHeader()'s param

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15758 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Mathieu Rene 2009-12-02 18:19:14 +00:00
parent 5e1914efca
commit c27a26e30e
2 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@ SWITCH_DECLARE(void) consoleCleanLog(char *msg);
virtual SWITCH_DECLARE_CONSTRUCTOR ~ Event();
SWITCH_DECLARE(const char *) serialize(const char *format = NULL);
SWITCH_DECLARE(bool) setPriority(switch_priority_t priority = SWITCH_PRIORITY_NORMAL);
SWITCH_DECLARE(const char *) getHeader(char *header_name);
SWITCH_DECLARE(const char *) getHeader(const char *header_name);
SWITCH_DECLARE(char *) getBody(void);
SWITCH_DECLARE(const char *) getType(void);
SWITCH_DECLARE(bool) addBody(const char *value);

View File

@ -341,7 +341,7 @@ SWITCH_DECLARE(bool) Event::setPriority(switch_priority_t priority)
return false;
}
SWITCH_DECLARE(const char *)Event::getHeader(char *header_name)
SWITCH_DECLARE(const char *)Event::getHeader(const char *header_name)
{
this_check("");