diff options
Diffstat (limited to 'net/irrd/files/patch-database.c')
-rw-r--r-- | net/irrd/files/patch-database.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net/irrd/files/patch-database.c b/net/irrd/files/patch-database.c new file mode 100644 index 000000000000..1b8e2a1cf2ed --- /dev/null +++ b/net/irrd/files/patch-database.c @@ -0,0 +1,13 @@ +--- programs/IRRd/database.c.orig Fri Oct 18 05:02:29 2002 ++++ programs/IRRd/database.c Thu Apr 22 17:13:52 2004 +@@ -61,7 +61,9 @@ + HASH_Clear (db->hash_spec); + + db->radix = New_Radix (128); +- fclose (db->db_fp); ++ ++ if (db->db_fp != NULL) ++ fclose (db->db_fp); + + db->db_fp = NULL; + db->db_syntax = EMPTY_DB; |