case 0x04: return "reliability";
case 0x02: return "lowdelay";
default:
- snprintf (buf, 8, "%d", value);
+ tr_snprintf (buf, 8, "%d", value);
return buf;
}
}
return 0;
/* compose the string token to search for */
- snprintf (sstr, maxLength, CRLF "%s: ", name);
+ tr_snprintf (sstr, maxLength, CRLF "%s: ", name);
pos = strstr (str, sstr);
if (pos == NULL)
hashString[i] = toupper (t->info.hashString[i]);
/* prepare a zero-terminated announce message */
- snprintf (query, lpd_maxDatagramLength + 1, fmt, 1, 1,
- lpd_mcastGroup, lpd_mcastPort, lpd_port, hashString);
+ tr_snprintf (query, lpd_maxDatagramLength + 1, fmt, 1, 1,
+ lpd_mcastGroup, lpd_mcastPort, lpd_port, hashString);
/* actually send the query out using [lpd_socket2] */
{