diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2025-04-24 01:29:30 -0700 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2025-04-24 01:29:30 -0700 |
commit | 69193d145fc5134fa6c65adece79acde808c30a3 (patch) | |
tree | b5b36a73f942363534bb9dbd507e433cefe4b348 /remote_plot.c | |
parent | 08c1b958c4f05c37e5e6df07fc480456a21e5887 (diff) |
fix print, add comment
Diffstat (limited to 'remote_plot.c')
-rw-r--r-- | remote_plot.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/remote_plot.c b/remote_plot.c index 88f4490..0ba3635 100644 --- a/remote_plot.c +++ b/remote_plot.c @@ -410,12 +410,14 @@ int main (int argc, char **argv) if (data.session == NULL) exit(-1); ssh_options_set(data.session, SSH_OPTIONS_HOST, "Spartan_Racing_Charger@10.0.0.9"); + // for testing + //ssh_options_set(data.session, SSH_OPTIONS_HOST, "10.0.0.7"); // Connect to server rc = ssh_connect(data.session); if (rc != SSH_OK) { - fprintf(stderr, "Error connecting to 10.0.0.7: %s\n", + fprintf(stderr, "Error connecting to Spartan_Racing_Charger@10.0.0.9: %s\n", ssh_get_error(data.session)); ssh_free(data.session); exit(-1); |