mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-30 17:43:57 +01:00
* src/stringprep/stringprep_drv.c: Bugfix
SVN Revision: 348
This commit is contained in:
parent
d7a6fcb712
commit
fb870ca15d
@ -1,3 +1,7 @@
|
||||
2005-05-17 Alexey Shchepin <alexey@sevcom.net>
|
||||
|
||||
* src/stringprep/stringprep_drv.c: Bugfix
|
||||
|
||||
2005-05-16 Alexey Shchepin <alexey@sevcom.net>
|
||||
|
||||
* src/win32/ejabberd.cfg: Updated (thanks to Sergei Golovan)
|
||||
|
@ -143,7 +143,7 @@ static int compose(int ch1, int ch2)
|
||||
rstring[pos+2] = (char) ((ruc | 0x80) & 0xBF); \
|
||||
pos += 3; \
|
||||
} else if (ruc <= 0x1FFFFF) { \
|
||||
if (pos + 2 >= size) { \
|
||||
if (pos + 3 >= size) { \
|
||||
size = 2*size + 4; \
|
||||
rstring = driver_realloc(rstring, size); \
|
||||
} \
|
||||
|
Loading…
Reference in New Issue
Block a user