diff options
author | Berke Viktor <berkeviktor@aol.com> | 2011-11-23 11:51:19 +0100 |
---|---|---|
committer | Berke Viktor <berkeviktor@aol.com> | 2011-11-23 11:51:19 +0100 |
commit | 67ef819ebced1e46874b60abaef5876444585684 (patch) | |
tree | 0c5d80fa002f878ad665f4c8d8fc8ef7276a77a4 /src | |
parent | 8be4a55a573c07681bf691deab46999c41d16d38 (diff) |
report back when saving preferences via command
Diffstat (limited to 'src')
-rw-r--r-- | src/common/outbound.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/common/outbound.c b/src/common/outbound.c index 3a4d379c..8ae1bb55 100644 --- a/src/common/outbound.c +++ b/src/common/outbound.c @@ -2889,7 +2889,14 @@ cmd_recv (struct session *sess, char *tbuf, char *word[], char *word_eol[]) static int cmd_saveconf (struct session *sess, char *tbuf, char *word[], char *word_eol[]) { - save_config (); + if (save_config ()) + { + PrintText (sess, "Preferences have been saved successfully.\n"); + } + else + { + PrintText (sess, "Error saving preferences.\n"); + } return TRUE; } |