mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +00:00
use more correct const char * for things that should not be modified. This should also fix the switch_cpp.cpp changes from MODAPP-44. More patches to follow up on this for a few more modules that will likely break with this commit.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6120 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
+2
-2
@@ -657,9 +657,9 @@ SWITCH_DECLARE(int) switch_socket_waitfor(switch_pollfd_t * poll, int ms)
|
||||
}
|
||||
|
||||
|
||||
SWITCH_DECLARE(size_t) switch_url_encode(char *url, char *buf, size_t len)
|
||||
SWITCH_DECLARE(size_t) switch_url_encode(const char *url, char *buf, size_t len)
|
||||
{
|
||||
char *p;
|
||||
const char *p;
|
||||
size_t x = 0;
|
||||
const char urlunsafe[] = "\r\n \"#%&+:;<=>?@[\\]^`{|}";
|
||||
const char hex[] = "0123456789ABCDEF";
|
||||
|
||||
Reference in New Issue
Block a user