ソースを参照

Fix typo with misplaced parens

pull/68/head
Stanislav Vishnevskiy 10年前
コミット
90d7c50b28
1個のファイルの変更2行の追加2行の削除
  1. +2
    -2
      c_src/encoder.c

+ 2
- 2
c_src/encoder.c ファイルの表示

@ -712,12 +712,12 @@ encode_iter(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[])
stack = enif_make_list_cell(env, curr, stack);
stack = enif_make_list_cell(env, e->atoms->ref_array, stack);
stack = enif_make_list_cell(env, item, stack);
} else if(e->use_nil && enif_compare(curr, e->atoms->atom_nil) == 0)) {
} else if(e->use_nil && enif_compare(curr, e->atoms->atom_nil) == 0) {
if(!enc_literal(e, "null", 4)) {
ret = enc_error(e, "null");
goto done;
}
} else if(enif_compare(curr, e->atoms->atom_null) == 0 {
} else if(enif_compare(curr, e->atoms->atom_null) == 0) {
if(!enc_literal(e, "null", 4)) {
ret = enc_error(e, "null");
goto done;

読み込み中…
キャンセル
保存