#if BLD_DEBUG
fullNameLen = mprReallocStrcat(&fullName, MPR_MAX_VAR, fullNameLen,
- 0, ".", 0);
+ 0, ".", NULL);
#endif
ep->currentProperty = vp;
* If not executing yet, id may not be known
*/
fullNameLen = mprReallocStrcat(&fullName, MPR_MAX_VAR,
- fullNameLen, 0, "[", id, "]", 0);
+ fullNameLen, 0, "[", id, "]", NULL);
}
#endif
*id = mprStrdup(ep->token);
#if BLD_DEBUG
*fullNameLen = mprReallocStrcat(fullName, MPR_MAX_VAR, *fullNameLen,
- 0, *id, 0);
+ 0, *id, NULL);
#endif
if (ep->currentObj == 0) {
ep->currentObj = ejsFindObj(ep, state, *id, flags);
addBytes += strlen(str) + sepLen;
str = va_arg(ap, const char*);
}
+ va_end(ap);
if (existingLen > 0) {
addBytes += sepLen;
dp += sepLen;
}
}
+ va_end(ap);
} else if (dest == 0) {
dest = (char*) mprMalloc(1);
}