Commit d752fc0e authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Remove trailing whitespace before computing Subject CRC

Some responding programs will automatically remove the trailing white-space from subject when replying and that would mess up the subject-linkage-by-CRC. So let's just ignore trailing whitespace in the first place.
parent e8f8cb42
Pipeline #3028 passed with stage
in 10 minutes and 19 seconds
......@@ -387,6 +387,7 @@ uint16_t smb_subject_crc(const char* subj)
crc=crc16(str,0 /* auto-length */);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment