summaryrefslogtreecommitdiff
path: root/cont.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-24 23:23:46 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-24 23:23:46 +0000
commit22d8481f080ce4eb758803ad1f60273b6c3a10ad (patch)
tree3cdb9166b5a776de1f3f8f864642836c10748116 /cont.c
parent35ef17dcfae48866c4043bac680ff3b9921cb50a (diff)
fix common misspelling [ci skip]
* compile.c, cont.c, doc, man: fix common misspelling. [ruby-core:72466] [Bug #11870] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cont.c')
-rw-r--r--cont.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cont.c b/cont.c
index 24b1a4c..8ebd78f 100644
--- a/cont.c
+++ b/cont.c
@@ -137,7 +137,7 @@ struct rb_fiber_struct {
* then this fiber can't "resume" any more after that.
* You shouldn't mix "transfer" and "resume".
*/
- int transfered;
+ int transferred;
#if FIBER_USE_NATIVE
#ifdef _WIN32
@@ -1507,7 +1507,7 @@ rb_fiber_resume(VALUE fibval, int argc, const VALUE *argv)
if (fib->prev != 0 || fib->cont.type == ROOT_FIBER_CONTEXT) {
rb_raise(rb_eFiberError, "double resume");
}
- if (fib->transfered != 0) {
+ if (fib->transferred != 0) {
rb_raise(rb_eFiberError, "cannot resume transferred Fiber");
}
@@ -1619,7 +1619,7 @@ rb_fiber_m_transfer(int argc, VALUE *argv, VALUE fibval)
{
rb_fiber_t *fib;
GetFiberPtr(fibval, fib);
- fib->transfered = 1;
+ fib->transferred = 1;
return fiber_switch(fib, argc, argv, 0);
}