summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--src/eclat.c2
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
@@ -494,7 +494,7 @@ print_matching_commands(const char *pat)
494 if (cp->name && strlen (cp->name) >= patlen && 494 if (cp->name && strlen (cp->name) >= patlen &&
495 memcmp (cp->name, pat, patlen) == 0) 495 memcmp (cp->name, pat, patlen) == 0)
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);
499 } 499 }
500} 500}

Return to:

Send suggestions and report system problems to the System administrator.