diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-04-25 18:38:06 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-04-25 18:38:06 +0300 |
commit | c00e8ff6d9cef344ce439a2553c5627f519face7 (patch) | |
tree | daa5391fe1170a0c2bdf7eb12be74491d3ca8e2e | |
parent | e545233cb313c7a217c0839390a996744f92edf5 (diff) | |
download | eclat-c00e8ff6d9cef344ce439a2553c5627f519face7.tar.gz eclat-c00e8ff6d9cef344ce439a2553c5627f519face7.tar.bz2 |
Bugfix.
* src/eclat.c (print_matching_commands): Fix coredump.
-rw-r--r-- | src/eclat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eclat.c b/src/eclat.c index 5df504e..ee44053 100644 --- a/src/eclat.c +++ b/src/eclat.c | |||
@@ -496,3 +496,3 @@ print_matching_commands(const char *pat) | |||
496 | printf("%s\n", cp->name); | 496 | printf("%s\n", cp->name); |
497 | if (ident_matches(cp->ident, pat) != NO_MATCH) | 497 | if (cp->ident && ident_matches(cp->ident, pat) != NO_MATCH) |
498 | printf("%s\n", cp->ident); | 498 | printf("%s\n", cp->ident); |