From eddd0f8f636e542a53b0d8db0c63f69f1a57f27d Mon Sep 17 00:00:00 2001 From: smorlat Date: Fri, 19 Dec 2008 10:22:47 +0000 Subject: [PATCH] fix behaviour when using nohup. git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@210 3f6dc0c8-ddfe-455d-9043-3cd528dc4637 --- linphone/console/linphonec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linphone/console/linphonec.c b/linphone/console/linphonec.c index 78d59506f..a859f2919 100644 --- a/linphone/console/linphonec.c +++ b/linphone/console/linphonec.c @@ -341,10 +341,12 @@ static void *prompt_reader_thread(void *arg){ have_prompt=TRUE; ms_mutex_unlock(&prompt_mutex); } + /* ms_mutex_lock(&prompt_mutex); strcpy(received_prompt,"quit"); have_prompt=TRUE; ms_mutex_unlock(&prompt_mutex); + */ return NULL; }