summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/searchengine/tokentool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/searchengine/tokentool.c b/apps/plugins/searchengine/tokentool.c
index e87ede8b0a..2bee6f74d3 100644
--- a/apps/plugins/searchengine/tokentool.c
+++ b/apps/plugins/searchengine/tokentool.c
@@ -29,6 +29,7 @@ main() {
29 printf("Output filename? "); 29 printf("Output filename? ");
30 fflush(stdout); 30 fflush(stdout);
31 fgets(buf,254,stdin); 31 fgets(buf,254,stdin);
32 buf[strlen(buf)-1]=0;
32 fp=fopen(buf,"w"); 33 fp=fopen(buf,"w");
33 if(fp<0) { 34 if(fp<0) {
34 printf("Error opening outputfile.\n"); 35 printf("Error opening outputfile.\n");