Explorar el Código

ft: 代码修改

master
SisMaker hace 4 años
padre
commit
bdb31043c6
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      c_src/tracer/tpTracerNif.c

+ 2
- 2
c_src/tracer/tpTracerNif.c Ver fichero

@ -75,7 +75,7 @@ static ERL_NIF_TERM enabled(ErlNifEnv *env, int argc, const ERL_NIF_TERM argv[])
const ERL_NIF_TERM *tuple;
ErlNifPid tracer_pid;
if (!enif_get_tuple(env, value, &arity, &tuple)) {
if (!enif_get_tuple(env, argv[1], &arity, &tuple)) {
return atom_remove;
}
@ -99,7 +99,7 @@ static ERL_NIF_TERM enabled_procs(ErlNifEnv *env, int argc, const ERL_NIF_TERM a
int arity;
const ERL_NIF_TERM *tuple;
if (!enif_get_tuple(env, value, &arity, &tuple)) {
if (!enif_get_tuple(env, argv[1], &arity, &tuple)) {
return atom_remove;
}

Cargando…
Cancelar
Guardar