diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-03-11 00:23:14 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-03-11 07:38:22 -0700 |
commit | 2a1a868db20f2fea08f946cf3733d6deeb61b066 (patch) | |
tree | 00e9de2c21cce3eaefcead7c3d8c45e9d2c1cc23 /file.c | |
parent | 76ce2b095bbad46b4804dd075bee22085c606543 (diff) | |
download | subsurface-2a1a868db20f2fea08f946cf3733d6deeb61b066.tar.gz |
datatrak: some codings style fixes and fopen() usage
- subsurface_fopen() is needed
- translated one puts("") message
- sizeof(unsigned char | char) is always 1
- pointer symbol (*) location
- padding fixes
- braces fixes
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
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
@@ -457,7 +457,7 @@ int parse_file(const char *filename) } /* DataTrak/Wlog */ - if (fmt && (!strcasecmp(fmt + 1, "LOG"))) { + if (fmt && !strcasecmp(fmt + 1, "LOG")) { datatrak_import(filename, &dive_table); return 0; } |