changed how to compare a map against data of other types.

fixed some problems in handling nonblocking connect and send with watt-32
This commit is contained in:
2014-10-23 16:09:05 +00:00
parent 84798f4fd0
commit 2218670769
9 changed files with 207 additions and 68 deletions

View File

@ -20,7 +20,7 @@ static int fnc_basename (qse_awk_rtx_t* rtx, const qse_awk_fnc_info_t* fi)
/* get the value of the first parameter */
a0 = qse_awk_rtx_getarg (rtx, 0);
if (qse_awk_rtx_getvaltype (rtx, a0) == QSE_AWK_VAL_STR)
if (qse_awk_rtx_getvaltype (rtx, a0) == QSE_AWK_VAL_STR)
{
/* if it is a string value, don't duplicate the value */
ptr = ((qse_awk_val_str_t*)a0)->val.ptr;