$ git clone http://tcclient.ion.nu/tc_client.git
commit 25fe1b5f1aaa31754e6c938514ecfec5cfd2e2d9
Author: Alicia <...>
Date:   Thu Dec 29 18:44:08 2016 +0100

    Small bugfix regarding outgoing streams.

diff --git a/ChangeLog b/ChangeLog
index c7f68ed..76fdb90 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 0.42:
 Improved RTMP compatibility by responding to RTMP ping requests and always starting new chunk streams with a format 0 packet.
 Added some basic support for kageshi (using the -s/--site option)
+Small bugfix regarding outgoing streams.
 0.41.1:
 Use tinychat.com instead of apl.tinychat.com (works around SSL/TLS issues on windows)
 0.41:
diff --git a/media.c b/media.c
index 255dc2d..77e4a48 100644
--- a/media.c
+++ b/media.c
@@ -61,7 +61,7 @@ void streamout_start(const char* id, int sock) // called upon privmsg "/camup"
   while(stream_idtaken(streamid)){++streamid;}
   ++streamcount;
   streams=realloc(streams, sizeof(struct stream)*streamcount);
-  streams[streamcount-1].camid=id;
+  streams[streamcount-1].camid=strdup(id);
   streams[streamcount-1].streamid=streamid;
   streams[streamcount-1].outgoing=1;
   struct rtmp amf;