Navigation Menu

Skip to content

Commit

Permalink
Add missing "[0]"
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 15, 2015
1 parent f39b9d9 commit a7c7ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugin.c
Expand Up @@ -518,7 +518,7 @@ grn_plugin_get_system_plugins_dir(void)
grn_getenv("GRN_PLUGINS_DIR",
plugins_dir,
GRN_ENV_BUFFER_SIZE);
if (plugins_dir) {
if (plugins_dir[0]) {
return plugins_dir;
} else {
return grn_plugin_get_default_system_plugins_dir();
Expand Down

0 comments on commit a7c7ba8

Please sign in to comment.