Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[mms-lib] Open PDU file with O_BINARY
  • Loading branch information
monich committed Mar 16, 2016
1 parent abbcb55 commit dc65927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mms-lib/src/mms_task_http.c
Expand Up @@ -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);
Expand Down

0 comments on commit dc65927

Please sign in to comment.