Commit dc65927e authored by Slava Monich's avatar Slava Monich

[mms-lib] Open PDU file with O_BINARY

parent abbcb550
......@@ -461,7 +461,7 @@ mms_task_http_start(
/* Open the files */
if (priv->send_path) {
send_fd = open(priv->send_path, O_RDONLY);
send_fd = open(priv->send_path, O_RDONLY | O_BINARY);
if (send_fd >= 0) {
struct stat st;
int err = fstat(send_fd, &st);
......
Markdown is supported
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