card-restore: prevent segfault caused by 'restore_bluetooth_profile=true'

This fixes an oversight introduced in 1f45082c which ultimately causes a segfault error in 'add_key_value()' from 'modargs.c'.

Closes #773.
This commit is contained in:
Marc Ranolfi 2019-12-07 19:06:28 -03:00
parent e6779ad229
commit b94dba9daf

View file

@ -55,7 +55,8 @@ PA_MODULE_USAGE(
#define SAVE_INTERVAL (10 * PA_USEC_PER_SEC) #define SAVE_INTERVAL (10 * PA_USEC_PER_SEC)
static const char* const valid_modargs[] = { static const char* const valid_modargs[] = {
"restore_bluetooth_profile=<boolean>" "restore_bluetooth_profile",
NULL
}; };
struct userdata { struct userdata {