diff --git a/src/if_cscope.c b/src/if_cscope.c index f796cd9276..8866435ddb 100644 --- a/src/if_cscope.c +++ b/src/if_cscope.c @@ -1008,7 +1008,7 @@ cs_find_common(opt, pat, forceit, verbose, use_ll) totmatches = 0; for (i = 0; i < CSCOPE_MAX_CONNECTIONS; i++) { - if (csinfo[i].fname == NULL) + if (csinfo[i].fname == NULL || csinfo[i].to_fp == NULL) continue; /* send cmd to cscope */ diff --git a/src/version.c b/src/version.c index eb55641f12..f0bb45ae0d 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 166, /**/ 165, /**/