Posts: 503
Threads: 24
Joined: Jul 2012
Quote:
Originally Posted by jlalt
You've forgot to define string size. simple add the size inside [ and ] after s.
ex:
PHP код:
if(sscanf(params, "uds[50]", targetid, amount, reason))
|
Quote:
Originally Posted by Vince
Yes. Strings without a length are deprecated. You must add a destination size.
Код:
sscanf(params, "uds[50]", targetid, amount, reason)
|
Thanks. Fixed the warning.