diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2010-12-07 06:48:50 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2010-12-07 06:48:50 +0000 |
commit | 952e3f66b234b54ffbaaf27cb1604bda84d8dce0 (patch) | |
tree | 5050a92e57b79e8b440e60019c63ae9fb1d4f5b2 /libsylph/session.c | |
parent | e39a59270b9d66888b694207dc52f658058c684b (diff) |
added UI for SOCKS settings.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2735 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/session.c')
-rw-r--r-- | libsylph/session.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libsylph/session.c b/libsylph/session.c index f45138f0..0b52d87e 100644 --- a/libsylph/session.c +++ b/libsylph/session.c @@ -167,6 +167,7 @@ gint session_connect_full(Session *session, const gchar *server, gushort port, session->port = port; if (socks_info) { + g_return_val_if_fail(socks_info->proxy_host != NULL, -1); server = socks_info->proxy_host; port = socks_info->proxy_port; } |