--- owl-2.1.11/zephyr.c	2005-01-30 12:38:56.194840779 -0500
+++ owl-fix98/zephyr.c	2006-08-12 02:06:33.343240729 -0400
@@ -628,13 +628,13 @@
       if (!strcasecmp(buff, line)) {
 	owl_function_error("Subscription already present in %s", subsfile);
 	owl_free(line);
+        fclose(file);
 	return;
       }
     }
   }
 
   /* if we get here then we didn't find it */
-  fclose(file);
   file=fopen(subsfile, "a");
   if (!file) {
     owl_function_error("Error opening file %s for writing", subsfile);
