commit 0c1f231373a4177aaf87cd9affe350d4c3f73dfc
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Nov 7 00:41:04 2011 +0100

      * protocoles.c: Fix crash on bogus fclose().

diff --git a/protocoles.c b/protocoles.c
index 24b4c50..450c4d9 100644
--- a/protocoles.c
+++ b/protocoles.c
@@ -63,8 +63,8 @@ struct protocole *proto;
 #endif
 	    i++; proto++;
 	}
+	fclose(fp);
     }
-    fclose(fp);
     
     return i;
 }
