Mercurial > pidgin
changeset 10516:d7ca3fa38e05
[gaim-migrate @ 11818]
use the native directory separator
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Thu, 13 Jan 2005 23:37:04 +0000 |
parents | ef9b6ef0c858 |
children | 461334f300d7 |
files | src/protocols/silc/silc.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/silc/silc.c Thu Jan 13 19:47:25 2005 +0000 +++ b/src/protocols/silc/silc.c Thu Jan 13 23:37:04 2005 +0000 @@ -1608,11 +1608,11 @@ prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); #if 0 /* XXX Public key auth interface with explicit key pair is broken in SILC Toolkit */ - g_snprintf(tmp, sizeof(tmp), "%s/public_key.pub", silcgaim_silcdir()); + g_snprintf(tmp, sizeof(tmp), "%s" G_DIR_SEPARATOR_S "public_key.pub", silcgaim_silcdir()); option = gaim_account_option_string_new(_("Public Key File"), "public-key", tmp); prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); - g_snprintf(tmp, sizeof(tmp), "%s/private_key.prv", silcgaim_silcdir()); + g_snprintf(tmp, sizeof(tmp), "%s" G_DIR_SEPARATOR_S "private_key.prv", silcgaim_silcdir()); option = gaim_account_option_string_new(_("Private Key File"), "public-key", tmp); prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); @@ -1637,9 +1637,9 @@ gaim_prefs_add_bool("/plugins/prpl/silc/verify_im", FALSE); gaim_prefs_add_bool("/plugins/prpl/silc/sign_chat", FALSE); gaim_prefs_add_bool("/plugins/prpl/silc/verify_chat", FALSE); - g_snprintf(tmp, sizeof(tmp), "%s/public_key.pub", silcgaim_silcdir()); + g_snprintf(tmp, sizeof(tmp), "%s" G_DIR_SEPARATOR_S "public_key.pub", silcgaim_silcdir()); gaim_prefs_add_string("/plugins/prpl/silc/pubkey", tmp); - g_snprintf(tmp, sizeof(tmp), "%s/private_key.prv", silcgaim_silcdir()); + g_snprintf(tmp, sizeof(tmp), "%s" G_DIR_SEPARATOR_S "private_key.prv", silcgaim_silcdir()); gaim_prefs_add_string("/plugins/prpl/silc/privkey", tmp); gaim_prefs_add_string("/plugins/prpl/silc/vcard", "");