diff options
author | Yorhel <git@yorhel.nl> | 2019-05-28 07:41:51 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-05-28 07:41:51 +0200 |
commit | 64babc40ecbf6ef2417235b1cf02a355b2706120 (patch) | |
tree | c868551bc387c25bc98c67f9682d081ba69eb624 | |
parent | d4d0f35b057ce3095581830a6d2c61156b5f210d (diff) |
cc.c: Fixup setting of cc->token
I broke this in 7ba4ec464a7c857913858778f50ef86c977284a4
Fixes #97
-rw-r--r-- | src/cc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -904,8 +904,8 @@ static void adc_handle(net_t *net, char *msg, int _len) { } else { cc->cid = g_strdup(id); if(cc->active) { - cc_expect_adc_rm(cc, 0); cc->token = g_strdup(token); + cc_expect_adc_rm(cc, 0); } hub_user_t *u = cc->uid ? g_hash_table_lookup(hub_uids, &cc->uid) : NULL; if(!u) { |