Comparison

util-src/ringbuffer.c @ 8735:856a40ec4a0a

util.ringbuffer: Fix typo in comment [codespell]
author Kim Alvefur <zash@zash.se>
date Fri, 06 Apr 2018 22:26:53 +0200
parent 8544:e7214441523b
child 10480:94cacf9fd0ae
comparison
equal deleted inserted replaced
8734:36d49a9c5e88 8735:856a40ec4a0a
130 130
131 return 1; 131 return 1;
132 } 132 }
133 133
134 /* 134 /*
135 * Read buffer until first occurence of a substring 135 * Read buffer until first occurrence of a substring
136 * (buffer, string) -> string 136 * (buffer, string) -> string
137 */ 137 */
138 int rb_readuntil(lua_State *L) { 138 int rb_readuntil(lua_State *L) {
139 size_t l, m; 139 size_t l, m;
140 ringbuffer *b = luaL_checkudata(L, 1, "ringbuffer_mt"); 140 ringbuffer *b = luaL_checkudata(L, 1, "ringbuffer_mt");