afb-config: rework on option --random-token
authorJosé Bollo <jose.bollo@iot.bzh>
Sun, 27 Aug 2017 12:50:43 +0000 (14:50 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Sun, 27 Aug 2017 13:00:29 +0000 (15:00 +0200)
commitdf098f275a09531fc545b2e1195c80d52a27656d
tree59af4cedca5fdabc3299c956e81ae2929ee56de7
parentb2a53cb68658ec297d8b66f4c333a287bf70bc37
afb-config: rework on option --random-token

When set, this option will enforce a random
token in any cases.

Not using the option --token has the same effect
asking for a random token.

So the option now serves to enforce a random token.

Change-Id: Iea2cee44b95d5479c36217d312ab6e8ce6726005
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afb-config.c
src/afb-config.h