Module: sems
Branch: master
Commit: 1ff67e4cde90b7c7d9f180295ad41315b6bc284b
URL: 
https://github.com/sems-server/sems/commit/1ff67e4cde90b7c7d9f180295ad41315b6bc284b

Author: Stefan Sayer <[email protected]>
Committer: Stefan Sayer <[email protected]>
Date: 2016-02-08T11:35:17+01:00

Merge pull request #17 from camilleoudot/master

core: fix multipart delimiter parser

---

Modified: core/AmMimeBody.cpp

---

Diff:  
https://github.com/sems-server/sems/commit/1ff67e4cde90b7c7d9f180295ad41315b6bc284b.diff
Patch: 
https://github.com/sems-server/sems/commit/1ff67e4cde90b7c7d9f180295ad41315b6bc284b.patch

---

diff --git a/core/AmMimeBody.cpp b/core/AmMimeBody.cpp
index 29e6820..4445fd7 100644
--- a/core/AmMimeBody.cpp
+++ b/core/AmMimeBody.cpp
@@ -421,6 +421,7 @@ int AmMimeBody::findNextBoundary(unsigned char** beg, 
unsigned char** end)
        break;
       case CR:
        st = B_CR;
+       *beg = c;
        break;
       default:
        st = B_START;

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to