Displaying 2 results from an estimated 2 matches for "mastersock".
Did you mean:
master_lock
2004 Aug 06
2
improved error.log output --diff
...ate_source(client, con, parser,
httpp_getvar(parser, HTTPP_VAR_URI))) {
- DEBUG0("Failed to create source");
+ DEBUG0("Failed to create source, %s", client->con->ip);
client_destroy(client);
}
@@ -183,7 +183,7 @@
mastersock = sock_connect_wto(server, port, 0);
if (mastersock == SOCK_ERROR) {
- WARN0("Relay slave failed to contact master server to fetch stream list");
+ WARN0("Relay slave failed to contact master server to fetch stream list, %s", "-&...
2011 Apr 29
4
You don't check for malloc failure
...-610,6 +616,9 @@
len = strlen(username) + strlen(password) + 2;
authheader = malloc(len);
+ if (authheader == NULL) {
+ abort();
+ }
snprintf (authheader, len, "%s:%s", username, password);
data = util_base64_encode(authheader);
sock_write (mastersock,
diff -ru icecast-2.3.2-ORIG/src/source.c icecast-2.3.2/src/source.c
--- icecast-2.3.2-ORIG/src/source.c Thu May 15 15:25:04 2008
+++ icecast-2.3.2/src/source.c Thu Apr 28 19:55:17 2011
@@ -577,6 +577,9 @@
strlen(":") + 6 + strlen(source->mount) + 1;
listenurl = malloc...