Sscanf warning...help me please
#1

[11:03:40] sscanf warning: Strings without a length are deprecated, please add a destination size.

Getting this error in my server log...
whats is this?
does it effect the server?
Reply
#2

You've to increase the string size.
Reply
#3

That means that somewhere in your code you have something like this:

pawn Code:
if(sscanf(params, "s", /*var*/))
Instead, it should be something like:
pawn Code:
if(sscanf(params, "s[SIZE OF YOUR STRING HERE]", /*var*/))
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)