core/metamod_util.cpp
changeset 856 4bf3ed73bba4
parent 747 9563de0165f7
     1.1 --- a/core/metamod_util.cpp	Sat Aug 03 13:56:58 2013 -0400
     1.2 +++ b/core/metamod_util.cpp	Tue Oct 08 21:01:53 2013 -0400
     1.3 @@ -323,7 +323,7 @@
     1.4  	size_t len, total = 0;
     1.5  	while (numLevels--)
     1.6  	{
     1.7 -		len = _snprintf(&buffer[total], maxlength - total, ".." PATH_SEP_STR);
     1.8 +		len = snprintf(&buffer[total], maxlength - total, ".." PATH_SEP_STR);
     1.9  		if (len >= maxlength - total)
    1.10  		{
    1.11  			/* Not enough space in the buffer */
    1.12 @@ -333,7 +333,7 @@
    1.13  	}
    1.14  
    1.15  	/* Add the absolute path. */
    1.16 -	len = _snprintf(&buffer[total], maxlength - total, "%s", &rootFrom[1]);
    1.17 +	len = snprintf(&buffer[total], maxlength - total, "%s", &rootFrom[1]);
    1.18  	if (len >= maxlength - total)
    1.19  	{
    1.20  		return false;