Skip to content

Commit

Permalink
core: spelling fix in comment and log message
Browse files Browse the repository at this point in the history
  • Loading branch information
henningw committed Apr 26, 2024
1 parent 36fc03e commit db176a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/switch.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ int fix_switch(struct action *t)
return E_BUG;
}
if(rval_expr_eval_long(0, 0, &c->label.match_int, c->ct_rve) < 0) {
LM_ERR("case expression (%d,%d) has non-interger type\n",
LM_ERR("case expression (%d,%d) has non-integer type\n",
c->ct_rve->fpos.s_line, c->ct_rve->fpos.s_col);
return E_BUG;
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/ut.h
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ static inline char *int2strbuf(unsigned long l, char *r, int r_size, int *len)
}

extern char ut_buf_int2str[INT2STR_MAX_LEN];
/** interger(long) to string conversion.
/** integer(long) to string conversion.
* This version uses a static buffer (shared with sint2str()).
* WARNING: other function calls might overwrite the static buffer, so
* either always save the result immediately or use int2strbuf(...).
Expand Down

0 comments on commit db176a4

Please sign in to comment.