diff src/protocols/silc/pk.c @ 10589:0f7452b1f777

[gaim-migrate @ 11994] Use GLib 2.6's gstdio functions. This should fix gaim not liking non-ascii filenames in win32. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 11 Feb 2005 05:10:40 +0000
parents 9f358a718f38
children 07dc8c6a359f
line wrap: on
line diff
--- a/src/protocols/silc/pk.c	Fri Feb 11 03:51:26 2005 +0000
+++ b/src/protocols/silc/pk.c	Fri Feb 11 05:10:40 2005 +0000
@@ -216,7 +216,7 @@
 	babbleprint = verify->babbleprint = silc_hash_babbleprint(NULL, pk, pk_len);
 
 	/* Check whether this key already exists */
-	if (stat(ipf, &st) < 0 && (!hostf || stat(hostf, &st) < 0)) {
+	if (g_stat(ipf, &st) < 0 && (!hostf || g_stat(hostf, &st) < 0)) {
 		/* Key does not exist, ask user to verify the key and save it */
 		silcgaim_verify_ask(name ? name : entity,
 				    fingerprint, babbleprint, verify);