Skip to content

Commit

Permalink
Fix https bug in title command.
Browse files Browse the repository at this point in the history
  • Loading branch information
Subsentient committed Apr 15, 2015
1 parent 559872c commit b2f6e87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands.c
Expand Up @@ -823,7 +823,7 @@ void CMD_ProcessCommand(const char *InStream_)
if (*Worker == '\1') IsAutoTitle = true, ++Worker;

if ((Worker = SubStrings.Find("http://", 1, Worker))) Worker += sizeof "http://" - 1;
else Worker = Argument;
else Worker = *Argument == '\1' ? Argument + 1 : Argument;

RecvBuffer = malloc(MAX_TITLE_DATA_SIZE); //Allocate 2MB. Some platforms like Windows don't appreciate our large arrays on stack.

Expand Down

0 comments on commit b2f6e87

Please sign in to comment.