summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6117cc8)
raw | patch | inline | side by side (parent: 6117cc8)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 20 Apr 2008 08:25:07 +0000 (10:25 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 20 Apr 2008 08:25:07 +0000 (10:25 +0200) |
src/teamspeak2.c | patch | blob | history |
diff --git a/src/teamspeak2.c b/src/teamspeak2.c
index 50e8d2235144395f2c20c6c1ebe868c52f8d24d4..b7992d808524ded44b81678cd8da890a8970546f 100644 (file)
--- a/src/teamspeak2.c
+++ b/src/teamspeak2.c
@@ -371,8 +371,6 @@ static int tss2_select_vserver (FILE *read_fh, FILE *write_fh, vserver_list_t *v
char response[128];
int status;
- DEBUG("teamspeak2 plugin: Select server %i", vserver->port);
-
/* Send request */
snprintf (command, sizeof (command), "sel %i\r\n", vserver->port);
command[sizeof (command) - 1] = 0;
gauge_t packet_loss = NAN;
int status;
- DEBUG("teamspeak2 plugin: Get average packet loss (VServer: %i)",
- vserver->port);
-
status = tss2_send_request (write_fh, "gapl\r\n");
if (status != 0)
{
if (vserver == NULL)
{
/* Request global information */
- DEBUG("teamspeak2 plugin: Read global server information");
-
memset (plugin_instance, 0, sizeof (plugin_instance));
status = tss2_send_request (write_fh, "gi\r\n");
else
{
/* Request server information */
- DEBUG("teamspeak2 plugin: Read vserver's %i information!", vserver->port);
-
snprintf (plugin_instance, sizeof (plugin_instance), "vserver%i",
vserver->port);
plugin_instance[sizeof (plugin_instance) - 1] = 0;
int success = 0;
int status;
- DEBUG("teamspeak2 plugin: Poll everything");
-
/* Handle global server variables */
status = tss2_read_vserver (NULL);
if (status == 0)
continue;
}
}
- DEBUG("teamspeak2 plugin: Poll done");
if (success == 0)
return (-1);