summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f27cdf7)
raw | patch | inline | side by side (parent: f27cdf7)
author | Stefan Hacker <stefan.hacker@web.de> | |
Sun, 13 Apr 2008 08:13:44 +0000 (10:13 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 13 Apr 2008 08:13:44 +0000 (10:13 +0200) |
The only real Problem I found is that you forgot to flush the outgoing buffer
after using fputs so nothing got sent. I added the fflush but now I'm not
really sure what would happen if sending failed....
after using fputs so nothing got sent. I added the fflush but now I'm not
really sure what would happen if sending failed....
src/teamspeak2.c | patch | blob | history |
diff --git a/src/teamspeak2.c b/src/teamspeak2.c
index 23a04d61d81b845c5ce25c13c3ce496f62e3be3d..6f6dd04b8785403bb2de091fb83f8af63356a7fe 100644 (file)
--- a/src/teamspeak2.c
+++ b/src/teamspeak2.c
tss2_close_socket ();
return (-1);
}
+ fflush (fh);
return (0);
} /* int tss2_send_request */