Skip to content

Commit

Permalink
Fix: #15
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyBeaupre committed Dec 3, 2023
1 parent 9ef5f4a commit af51e9d
Show file tree
Hide file tree
Showing 2 changed files with 181 additions and 179 deletions.
4 changes: 3 additions & 1 deletion netmush/boolexp.c
Expand Up @@ -535,11 +535,13 @@ BOOLEXP *parse_boolexp_L(char **pBuf, dbref parse_player, bool parsing_internal)
*
*/
buf = XMALLOC(LBUF_SIZE, "buf");
//buf = XSTRDUP(*pBuf, "buf");
p = buf;

while ((**pBuf) && ((**pBuf) != AND_TOKEN) && ((**pBuf) != OR_TOKEN) && ((**pBuf) != ')'))
{
*p++ = (**pBuf)++;
*p++ = (**pBuf);
(*pBuf)++;
}

*p-- = '\0';
Expand Down

0 comments on commit af51e9d

Please sign in to comment.