Commit 3421b89c authored by Marc Schink's avatar Marc Schink Committed by Freddie Chopin
Browse files

server/telnet: Remove exit() call



Change-Id: I8ce99d7d62dfe3cad63cf6bc68f2faf2234e395c
Signed-off-by: default avatarMarc Schink <openocd-dev@marcschink.de>
Reviewed-on: http://openocd.zylin.com/3224


Tested-by: jenkins
Reviewed-by: default avatarTomas Vanek <vanekt@fbl.cz>
Reviewed-by: default avatarFreddie Chopin <freddie.chopin@gmail.com>
parent b43b95e4
......@@ -573,7 +573,7 @@ static int telnet_input(struct connection *connection)
break;
default:
LOG_ERROR("unknown telnet state");
exit(-1);
return ERROR_FAIL;
}
bytes_read--;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment