diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2015-07-12 23:16:47 +0530 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-07-12 13:58:16 -0700 |
commit | b4d5f6fd5397bde406300218e4f253e3662a19fa (patch) | |
tree | 6ef12e7791e45fc158400a7ea7fb5f5f17d4f8b2 /file.c | |
parent | 212cc575bf140d4cfbb8e7fa766ed4b2ff865bcc (diff) | |
download | subsurface-b4d5f6fd5397bde406300218e4f253e3662a19fa.tar.gz |
Divinglog import: hook up processing of .sql files
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -448,7 +448,7 @@ int parse_file(const char *filename) } fmt = strrchr(filename, '.'); - if (fmt && (!strcasecmp(fmt + 1, "DB") || !strcasecmp(fmt + 1, "BAK"))) { + if (fmt && (!strcasecmp(fmt + 1, "DB") || !strcasecmp(fmt + 1, "BAK") || !strcasecmp(fmt + 1, "SQL"))) { if (!try_to_open_db(filename, &mem)) { free(mem.buffer); return 0; |