sscanf warning: Invalid data length.
#1

Sscanf is showing an error in server_logs, how can I fix it.

SSCANF ERROR:
Код:
sscanf warning: Invalid data length.
sscanf warning: Invalid character in data length.
This place creates error, but I don't know how to fix it:
Код:
`Moqmedeba` 'created'
Код:
format(query, sizeof(query),"INSERT INTO `logs_cctv`(`Name`, `CCTVName`, `Date`, `Moqmedeba`<--this creates warning) 
VALUES ('%s','%s','%s', 'created' <----along with this one)", sendername, name, datum);
mysql_tquery(handlesql, query);
Everything is good in mysql database. But Sscanf still keeps showing this warnings
Reply


Messages In This Thread
sscanf warning: Invalid data length. - by CoachCarter - 02.09.2016, 08:00
Re: sscanf warning: Invalid data length. - by Stinged - 02.09.2016, 08:25
Re: sscanf warning: Invalid data length. - by CoachCarter - 02.09.2016, 08:31
Re: sscanf warning: Invalid data length. - by CoachCarter - 02.09.2016, 09:50
Re: sscanf warning: Invalid data length. - by TORKQ - 02.09.2016, 10:18
Re: sscanf warning: Invalid data length. - by AndySedeyn - 02.09.2016, 10:21
Re: sscanf warning: Invalid data length. - by CoachCarter - 03.09.2016, 11:06
Re: sscanf warning: Invalid data length. - by Stinged - 03.09.2016, 11:20

Forum Jump:


Users browsing this thread: 1 Guest(s)