Skip to content

Commit

Permalink
Merge pull request #373 from jjnicola/fix-revealed-warnings
Browse files Browse the repository at this point in the history
Fix revelead warning by gcc 8.3.
  • Loading branch information
mattmundell authored Aug 22, 2019
2 parents 874af05 + 92607ed commit bafa569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nasl/nasl_builtin_find_service.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const char *oid;
static void
register_service (struct script_infos *desc, int port, const char *proto)
{
char k[96];
char k[265];

/* Old "magical" key set */
snprintf (k, sizeof (k), "Services/%s", proto);
Expand Down

0 comments on commit bafa569

Please sign in to comment.