[Freeswitch-trunk] [commit] r12526 - in freeswitch/trunk/libs/esl/src: . include
FreeSWITCH SVN
mrene at freeswitch.org
Sun Mar 8 13:43:23 PDT 2009
Author: mrene
Date: Sun Mar 8 15:43:22 2009
New Revision: 12526
Log:
add const spec to Event::getHeader()'s param
Modified:
freeswitch/trunk/libs/esl/src/esl_oop.cpp
freeswitch/trunk/libs/esl/src/include/esl_oop.h
Modified: freeswitch/trunk/libs/esl/src/esl_oop.cpp
==============================================================================
--- freeswitch/trunk/libs/esl/src/esl_oop.cpp (original)
+++ freeswitch/trunk/libs/esl/src/esl_oop.cpp Sun Mar 8 15:43:22 2009
@@ -327,7 +327,7 @@
return false;
}
-const char *ESLevent::getHeader(char *header_name)
+const char *ESLevent::getHeader(const char *header_name)
{
this_check("");
Modified: freeswitch/trunk/libs/esl/src/include/esl_oop.h
==============================================================================
--- freeswitch/trunk/libs/esl/src/include/esl_oop.h (original)
+++ freeswitch/trunk/libs/esl/src/include/esl_oop.h Sun Mar 8 15:43:22 2009
@@ -57,7 +57,7 @@
virtual ~ESLevent();
const char *serialize(const char *format = NULL);
bool setPriority(esl_priority_t priority = ESL_PRIORITY_NORMAL);
- const char *getHeader(char *header_name);
+ const char *getHeader(const char *header_name);
char *getBody(void);
const char *getType(void);
bool addBody(const char *value);
More information about the Freeswitch-trunk
mailing list