This commit is contained in:
hyung-hwan 2008-02-14 20:36:09 +00:00
parent 7047c2e126
commit 3550a7b976

View File

@ -158,7 +158,7 @@ int ase_map_putx (
if (pair == ASE_NULL) return -1; /* error */ if (pair == ASE_NULL) return -1; /* error */
/* duplicate the key if it is new */ /* duplicate the key if it is new */
ASE_PAIR_KEYPTR(pair) = (ase_char_t*)(pair + 1) ASE_PAIR_KEYPTR(pair) = (ase_char_t*)(pair + 1);
ase_strncpy (ASE_PAIR_KEYPTR(pair), keyptr, keylen); ase_strncpy (ASE_PAIR_KEYPTR(pair), keyptr, keylen);
ASE_PAIR_KEYLEN(pair) = keylen; ASE_PAIR_KEYLEN(pair) = keylen;