Commit 8db8650c authored by Niels Möller's avatar Niels Möller
Browse files

(client_argp_parser): Added empty statement after

label.
(make_client_session): Bind ^Z to suspend.

Rev: src/client.c:1.119
parent ec43006e
...@@ -750,6 +750,10 @@ make_client_session(struct client_options *options) ...@@ -750,6 +750,10 @@ make_client_session(struct client_options *options)
DEFAULT_ESCAPE_CHAR); DEFAULT_ESCAPE_CHAR);
escape = make_escape_info(DEFAULT_ESCAPE_CHAR); escape = make_escape_info(DEFAULT_ESCAPE_CHAR);
} }
/* Bind ^Z to suspend */
if (escape)
escape->dispatch[26] = &suspend_callback;
debug("lsh.c: Setting up stdout\n"); debug("lsh.c: Setting up stdout\n");
...@@ -1048,6 +1052,7 @@ client_argp_parser(int key, char *arg, struct argp_state *state) ...@@ -1048,6 +1052,7 @@ client_argp_parser(int key, char *arg, struct argp_state *state)
goto loop_done; goto loop_done;
} }
loop_done: loop_done:
;
} }
break; break;
......
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