Commit d78473d9 authored by rswindell's avatar rswindell
Browse files

Fixed bug using SAFECOPY for the arguments to a Baja mod.

parent 0949880e
......@@ -137,7 +137,7 @@ BYTE* telnet_expand(BYTE* inbuf, ulong inlen, BYTE* outbuf, ulong& newlen)
sprintf(str,"%.*s",sizeof(str)-1,cmdline+1); \
p=strchr(str,SP); \
if(p) { \
SAFECOPY(main_csi.str,p+1); \
strcpy(main_csi.str,p+1); \
*p=0; \
} else \
main_csi.str[0]=0; \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment