Index: src/bugzilla.c
===================================================================
RCS file: /cvs/gnome/bug-buddy/src/bugzilla.c,v
retrieving revision 1.79
diff -p -u -r1.79 bugzilla.c
--- src/bugzilla.c	1 Oct 2005 02:35:32 -0000	1.79
+++ src/bugzilla.c	28 Dec 2005 20:20:12 -0000
@@ -275,13 +275,16 @@ async_update (GnomeVFSAsyncHandle *handl
 
 	if (info->bytes_total && info->phase == GNOME_VFS_XFER_PHASE_COPYING) {
 		char *text_count;
+		int temp;
 		if (info->file_index>0)
 			count++;
 		text_count = g_strdup_printf (_("%d of %d"), info->file_index, info->files_total);
 		buddy_set_text ("progress-count", text_count);
 		g_free (text_count);
+		temp = info->total_bytes_copied;
+		temp = (temp > info->bytes_total) ? info->bytes_total : temp;
 		gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (GET_WIDGET ("progress-progress")), 
-					       (gfloat)info->total_bytes_copied / info->bytes_total);
+					       (gfloat)temp / info->bytes_total);
 	}
 
 	if (info->phase == GNOME_VFS_XFER_PHASE_COMPLETED) {
