changeset 14219:fe8c31618e6f

[gaim-migrate @ 16900] i think this should fix the blank version notices committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 20 Aug 2006 14:56:53 +0000
parents c509b8b8a646
children 1d793e808e5b
files gtk/plugins/relnot.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gtk/plugins/relnot.c	Sun Aug 20 14:02:43 2006 +0000
+++ b/gtk/plugins/relnot.c	Sun Aug 20 14:56:53 2006 +0000
@@ -54,6 +54,12 @@
 
 	while(changelog[i] && changelog[i] != '\n') i++;
 
+	/* this basically means the version thing wasn't in the format we were
+	 * looking for so sourceforge is probably having web server issues, and
+	 * we should try again later */
+	if(i == 0)
+		return;
+
 	cur_ver = g_strndup(changelog, i);
 	changelog += i;