Navigation Menu

Skip to content

Commit

Permalink
Fix misleadable name
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 10, 2012
1 parent ffdf240 commit 2eac198
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lib/expr.c
Expand Up @@ -25,11 +25,12 @@
#include "util.h"

static inline int
function_proc_p(grn_obj *expr)
function_proc_p(grn_obj *obj)
{
return (expr &&
expr->header.type == GRN_PROC &&
((grn_proc *)expr)->type == GRN_PROC_FUNCTION);
return (obj &&
obj->header.type == GRN_PROC &&
((grn_proc *)obj)->type == GRN_PROC_FUNCTION);
}
}

grn_obj *
Expand Down

0 comments on commit 2eac198

Please sign in to comment.