Diff between b011d9c4bf8167a5984ef6f7178fbc6d10bad3d6 and 982beb2bd2ed0b2cd6cc35f5de75bb85b2ad530f

Changed Files

File Additions Deletions Status
obexd/src/main.c +1 -0 modified

Full Patch

diff --git a/obexd/src/main.c b/obexd/src/main.c
index 0e7e604..abd2bcc 100644
--- a/obexd/src/main.c
+++ b/obexd/src/main.c
@@ -93,6 +93,7 @@ int tty_init(int services, const gchar *root_path,
 
 	tcgetattr(fd, &options);
 	cfmakeraw(&options);
+	options.c_oflag &= ~ONLCR;
 	tcsetattr(fd, TCSANOW, &options);
 
 	arg = fcntl(fd, F_GETFL);