diff --git a/coreapi/help/realtimetext_sender.c b/coreapi/help/realtimetext_sender.c index 9ab25545b..8995196f0 100644 --- a/coreapi/help/realtimetext_sender.c +++ b/coreapi/help/realtimetext_sender.c @@ -112,9 +112,14 @@ int main(int argc, char *argv[]){ /* main loop for sending message and doing background linphonecore work: */ while(running){ char character; - system ("/bin/stty raw"); /*to disable terminal buffering*/ + /*to disable terminal buffering*/ + if (system ("/bin/stty raw") == -1){ + ms_error("/bin/stty error"); + } character = getchar(); - system ("/bin/stty cooked"); + if (system("/bin/stty cooked") == -1){ + ms_error("/bin/stty error"); + } if (character==0x03) {/*CTRL C*/ running=0; break; diff --git a/mediastreamer2 b/mediastreamer2 index 8799e7b89..0780ed678 160000 --- a/mediastreamer2 +++ b/mediastreamer2 @@ -1 +1 @@ -Subproject commit 8799e7b89e11d46aebfec8e948de3bf8e754e2ec +Subproject commit 0780ed6788e5224617b62a34b190a1a7197cd50f