Skip to content
Permalink
Browse files

🐛 Fixed stream registration with spaces in filename

The space->null conversion was introduced in 014f130 for no apparent reason.
  • Loading branch information...
only-a-ptr committed Mar 13, 2019
1 parent 73d577a commit e09d8abc352d23f1ccc76a0dcb9d34a18e3c5ae3
Showing with 0 additions and 1 deletion.
  1. +0 −1 source/server/sequencer.cpp
@@ -798,7 +798,6 @@ void Sequencer::queueMessage(int uid, int type, unsigned int streamid, char *dat

if (publishMode != BROADCAST_BLOCK) {
// Add the stream
for (int i = 0; i < 128; i++) if (reg->name[i] == ' ') reg->name[i] = 0; // convert spaces to zero's
reg->name[127] = 0;
Logger::Log(LOG_VERBOSE, " * new stream registered: %d:%d, type: %d, name: '%s', status: %d",
client->user.uniqueid, streamid, reg->type, reg->name, reg->status);

0 comments on commit e09d8ab

Please sign in to comment.
You can’t perform that action at this time.