Fix segfault
This commit is contained in:
parent
8c1eb0a911
commit
c7bd720124
|
@ -84,11 +84,11 @@ static void handle_op_message(uint32_t in_type, struct strbuf *in, struct strbuf
|
||||||
struct op *op = get_local_op(in_type);
|
struct op *op = get_local_op(in_type);
|
||||||
char *envp[16];
|
char *envp[16];
|
||||||
|
|
||||||
debug("running op: %s", op->name);
|
if (!op)
|
||||||
|
|
||||||
if (!op->name)
|
|
||||||
fatal("operation %x does not exist", in_type);
|
fatal("operation %x does not exist", in_type);
|
||||||
|
|
||||||
|
debug("running op: %s", op->name);
|
||||||
|
|
||||||
/* TEMPORARY */
|
/* TEMPORARY */
|
||||||
if (!client_username())
|
if (!client_username())
|
||||||
fatal("unathenticated");
|
fatal("unathenticated");
|
||||||
|
|
Loading…
Reference in New Issue