argument type mismatch?????
#3

The simplest solution would be

Код:
valstr(buf, strval(buf) + 1);
fwrite(handle, buf);
instead of

Код:
fwrite(handle, strval(buf) + 1);
This will compile but it will crash the server (or not write the line).

You open the file with mode io_read, but still attempt to write to it. Use io_readwrite.
Reply


Messages In This Thread
argument type mismatch????? - by Miladinovic - 30.04.2017, 17:40
Re: argument type mismatch????? - by Sebz - 30.04.2017, 18:10
Re: argument type mismatch????? - by NaS - 30.04.2017, 19:22
Re: argument type mismatch????? - by Miladinovic - 01.05.2017, 10:55

Forum Jump:


Users browsing this thread: 3 Guest(s)