Index: camel/camel-gpg-context.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/camel-gpg-context.c,v
retrieving revision 1.83
diff -u -p -r1.83 camel-gpg-context.c
--- camel/camel-gpg-context.c	26 Jun 2006 15:34:28 -0000	1.83
+++ camel/camel-gpg-context.c	2 Nov 2006 04:41:33 -0000
@@ -1016,8 +1016,10 @@ gpg_ctx_op_step (struct _GpgCtx *gpg, Ca
 	struct pollfd polls[6];
 	int status, i, cancel_fd;
 
-	for (i=0;i<6;i++)
+	for (i=0;i<6;i++) {
 		polls[i].fd = -1;
+		polls[i].events = 0;
+	}
 
 	if (!gpg->seen_eof1) {
 		polls[0].fd = gpg->stdout_fd;
