1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 18:23:26 +02:00

MFB: Added key_length intialization for intergers

This commit is contained in:
Ilia Alshanetsky
2007-01-09 15:21:23 +00:00
parent a318af9992
commit b9f2ed22a2
+1 -1
View File
@@ -285,7 +285,7 @@ PS_SERIALIZER_DECODE_FUNC(wddx)
switch (hash_type) {
case HASH_KEY_IS_LONG:
sprintf(tmp, "%ld", idx);
key_length = sprintf(tmp, "%ld", idx) + 1;
key = tmp;
/* fallthru */
case HASH_KEY_IS_STRING: