Navigation Menu

Skip to content

Commit

Permalink
Follow API change
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 16, 2015
1 parent e2f27d9 commit e611502
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plugins/query_expanders/tsv.c
Expand Up @@ -25,6 +25,10 @@
#include <stdio.h>
#include <string.h>

#ifdef WIN32
# include <share.h>
#endif /* WIN32 */

#ifdef HAVE__STRNICMP
# ifdef strncasecmp
# undef strncasecmp
Expand Down Expand Up @@ -210,7 +214,7 @@ load_synonyms(grn_ctx *ctx)
} else {
path = get_system_synonyms_file();
}
grn_fopen(file, path, "r");
file = grn_fopen(path, "r");
if (!file) {
GRN_LOG(ctx, GRN_LOG_WARNING,
"[plugin][query-expander][tsv] "
Expand Down

0 comments on commit e611502

Please sign in to comment.