diff src/account.c @ 10443:b6ca0e1b19d0

[gaim-migrate @ 11703] Shuffle some things around in prefs.c and use xmlnode/the util function for saving prefs. Now all our xml files are written to disk at once, with gobs of error detection. If anyone complains about losing their config file with 2.x, send them to me. Muwha ha ha ha ha. Ha. Heh. Sigh. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 28 Dec 2004 19:11:15 +0000
parents e41f0668a648
children 6feef0a9098a
line wrap: on
line diff
--- a/src/account.c	Tue Dec 28 17:38:03 2004 +0000
+++ b/src/account.c	Tue Dec 28 19:11:15 2004 +0000
@@ -257,8 +257,9 @@
 
 	if (!accounts_loaded)
 	{
-		gaim_debug_error("accounts", "Attempted to save accounts before they "
-						 "were read!\n");
+		gaim_debug_error("accounts", "Attempted to save accounts before "
+						 "they were read!\n");
+		return;
 	}
 
 	node = accounts_to_xmlnode();