Skip to content
Snippets Groups Projects
Commit 5d9e4628 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Address cppcheck error - not an actual bug

netmail.cpp:411:25: error: Invalid strchr() argument nr 2. The value is -29
  but the valid values are '0:255'. [invalidFunctionArg]
  char* tp = strchr(to, QWK_NEWLINE);  /* chop off at first CR */
parent 0ff45947
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
* Note: If this box doesn't appear square, then you need to fix your tabs. * * Note: If this box doesn't appear square, then you need to fix your tabs. *
****************************************************************************/ ****************************************************************************/
#define QWK_NEWLINE '\xe3' /* QWK line terminator (227) */ #define QWK_NEWLINE 227 /* QWK line terminator (0xE3) */
#define QWK_BLOCK_LEN 128 #define QWK_BLOCK_LEN 128
#define QWK_HFIELD_LEN 25 /* Header field (To/From/Subject) length */ #define QWK_HFIELD_LEN 25 /* Header field (To/From/Subject) length */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment