aa2722976f
git-svn-id: svn://svn.openwrt.org/openwrt/packages@16494 3c298f89-4303-0410-b956-a3cf2f4a3e73
12 lines
419 B
Diff
12 lines
419 B
Diff
--- a/icqprotocolplugin.cpp
|
|
+++ b/icqprotocolplugin.cpp
|
|
@@ -668,7 +668,7 @@ int getmessage(GET_ARGS, std::string &me
|
|
char converted_string[BUFFER_SIZE];
|
|
memset(converted_string, 0, BUFFER_SIZE);
|
|
|
|
- char *inbuf = string;
|
|
+ const char *inbuf = string;
|
|
char *outbuf = converted_string;
|
|
size_t inbytesleft = mylength - 4;
|
|
size_t outbytesleft = BUFFER_SIZE - 1; /* Trailing \0 */
|