-avoid double next
This commit is contained in:
parent
758a149059
commit
624c5fda98
@ -588,6 +588,9 @@ TALER_ARL_init (const struct GNUNET_CONFIGURATION_Handle *c)
|
|||||||
GNUNET_free (master_public_key_str);
|
GNUNET_free (master_public_key_str);
|
||||||
return GNUNET_SYSERR;
|
return GNUNET_SYSERR;
|
||||||
}
|
}
|
||||||
|
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
|
||||||
|
"Running auditor against exchange master public key `%s'\n",
|
||||||
|
master_public_key_str);
|
||||||
GNUNET_free (master_public_key_str);
|
GNUNET_free (master_public_key_str);
|
||||||
} /* end of -m not given */
|
} /* end of -m not given */
|
||||||
|
|
||||||
|
@ -211,7 +211,8 @@ function run_audit () {
|
|||||||
pre_audit ${1:-no}
|
pre_audit ${1:-no}
|
||||||
if test ${2:-no} = "drain"
|
if test ${2:-no} = "drain"
|
||||||
then
|
then
|
||||||
echo -n "Running taler-exchange-offline drain ..."
|
echo -n "Running taler-exchange-offline drain with master public key "
|
||||||
|
gnunet-ecc -p ${DB}.mpriv
|
||||||
cp "${CONF}" "${CONF}.tmp"
|
cp "${CONF}" "${CONF}.tmp"
|
||||||
taler-config -c "${CONF}.tmp" -s exchange-offline -o MASTER_PRIV_FILE -V ${DB}.mpriv
|
taler-config -c "${CONF}.tmp" -s exchange-offline -o MASTER_PRIV_FILE -V ${DB}.mpriv
|
||||||
echo -n "Starting exchange..."
|
echo -n "Starting exchange..."
|
||||||
|
@ -4265,7 +4265,7 @@ do_extensions_show (char *const *args)
|
|||||||
json_dumps (obj,
|
json_dumps (obj,
|
||||||
JSON_INDENT (2)));
|
JSON_INDENT (2)));
|
||||||
json_decref (obj);
|
json_decref (obj);
|
||||||
next (args);
|
next (args + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -4326,10 +4326,16 @@ do_extensions_sign (char *const *args)
|
|||||||
&sig));
|
&sig));
|
||||||
output_operation (OP_EXTENSIONS,
|
output_operation (OP_EXTENSIONS,
|
||||||
obj);
|
obj);
|
||||||
next (args);
|
next (args + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Dispatch @a args in the @a cmds array.
|
||||||
|
*
|
||||||
|
* @param args arguments with subcommand to dispatch
|
||||||
|
* @param cmds array of possible subcommands to call
|
||||||
|
*/
|
||||||
static void
|
static void
|
||||||
cmd_handler (char *const *args,
|
cmd_handler (char *const *args,
|
||||||
const struct SubCommand *cmds)
|
const struct SubCommand *cmds)
|
||||||
@ -4397,7 +4403,6 @@ do_work_extensions (char *const *args)
|
|||||||
}
|
}
|
||||||
|
|
||||||
cmd_handler (args, cmds);
|
cmd_handler (args, cmds);
|
||||||
next (args + 1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user