X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fteamspeak2.c;h=12c275329708035e63e4d19de0028db2cd09563a;hb=be126043c2be20399d7670fe194645292018bde0;hp=a26d16e36caa90b62cf2e1cbf97e3315f9ec9f4a;hpb=1035fba8812893e50d00a871e3399cc1ece3b384;p=collectd.git diff --git a/src/teamspeak2.c b/src/teamspeak2.c index a26d16e3..12c27532 100644 --- a/src/teamspeak2.c +++ b/src/teamspeak2.c @@ -333,7 +333,7 @@ static int tss2_select_vserver(FILE *read_fh, FILE *write_fh, int status; /* Send request */ - ssnprintf(command, sizeof(command), "sel %i\r\n", vserver->port); + snprintf(command, sizeof(command), "sel %i\r\n", vserver->port); status = tss2_send_request(write_fh, command); if (status != 0) { @@ -463,7 +463,7 @@ static int tss2_read_vserver(vserver_list_t *vserver) { status = tss2_send_request(write_fh, "gi\r\n"); } else { /* Request server information */ - ssnprintf(plugin_instance, sizeof(plugin_instance), "vserver%i", + snprintf(plugin_instance, sizeof(plugin_instance), "vserver%i", vserver->port); /* Select the server */