diff options
author | Dave Davenport <qball@gmpclient.org> | 2016-01-08 09:16:59 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2016-01-08 09:16:59 +0100 |
commit | dc8fb4f20256bbfb50b683f56886bc31b5a5187f (patch) | |
tree | 2b1d5fd9e4124874c923c9e2847dc8fdac74c785 /source/dialogs/ssh.c | |
parent | 20b2d658a06f158c526f85f621e460fb2570a49b (diff) |
Start making SardemFF happy. Use g_return_if_fail
Diffstat (limited to 'source/dialogs/ssh.c')
-rw-r--r-- | source/dialogs/ssh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/dialogs/ssh.c b/source/dialogs/ssh.c index 05373417..49e99178 100644 --- a/source/dialogs/ssh.c +++ b/source/dialogs/ssh.c @@ -362,13 +362,14 @@ typedef struct _SSHModePrivateData * Initializes the SSH Mode private data object and * loads the relevant ssh information. */ -static void ssh_mode_init ( Mode *sw ) +static int ssh_mode_init ( Mode *sw ) { if ( mode_get_private_data ( sw ) == NULL ) { SSHModePrivateData *pd = g_malloc0 ( sizeof ( *pd ) ); mode_set_private_data ( sw, (void *) pd ); pd->hosts_list = get_ssh ( &( pd->hosts_list_length ) ); } + return TRUE; } /** |