Menu

#5 libnd_prefs.c:430: bad %s specifier ?

v1.0 (example)
open
nobody
None
5
2014-04-09
2014-04-09
dcb
No
  if (fscanf(f, "%s4096\n", str_data) != 1)

Suggest new code

  if (fscanf(f, "%4096s\n", str_data) != 1)

Discussion


Log in to post a comment.