This is an automated email from Gerrit.

Marc Schink ([email protected]) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/3224

-- gerrit

commit 300acd98d0f338aafed8ee243f52ac4c199c4ba2
Author: Marc Schink <[email protected]>
Date:   Fri Jan 29 23:35:40 2016 +0100

    server/telnet: Remove exit() call
    
    Change-Id: I8ce99d7d62dfe3cad63cf6bc68f2faf2234e395c
    Signed-off-by: Marc Schink <[email protected]>

diff --git a/src/server/telnet_server.c b/src/server/telnet_server.c
index 7836ca6..f75d119 100644
--- a/src/server/telnet_server.c
+++ b/src/server/telnet_server.c
@@ -568,7 +568,7 @@ static int telnet_input(struct connection *connection)
                                break;
                        default:
                                LOG_ERROR("unknown telnet state");
-                               exit(-1);
+                               return ERROR_FAIL;
                }
 
                bytes_read--;

-- 

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to