Skip to content
Snippets Groups Projects
Commit efa31b41 authored by rswindell's avatar rswindell
Browse files

Attempt to address GCC v7 warnings raised by Nelgin:

warning: format not a string literal and no format arguments [-Wformat-security]
parent dc49e16a
No related branches found
No related tags found
No related merge requests found
...@@ -4344,7 +4344,7 @@ int import_netmail(const char* path, fmsghdr_t hdr, FILE* fp, const char* inboun ...@@ -4344,7 +4344,7 @@ int import_netmail(const char* path, fmsghdr_t hdr, FILE* fp, const char* inboun
addr.net=hdr.orignet; addr.net=hdr.orignet;
addr.node=hdr.orignode; addr.node=hdr.orignode;
addr.point=hdr.origpoint; addr.point=hdr.origpoint;
lprintf(LOG_INFO, info); lprintf(LOG_INFO, "%s", info);
if(stricmp(hdr.from, FIDO_PING_NAME) == 0 if(stricmp(hdr.from, FIDO_PING_NAME) == 0
|| stricmp(hdr.from, FIDO_AREAMGR_NAME) == 0 || stricmp(hdr.from, FIDO_AREAMGR_NAME) == 0
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment