diff options
Diffstat (limited to 'src/usbg.c')
-rw-r--r-- | src/usbg.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2761,6 +2761,9 @@ int usbg_add_config_function(usbg_config *c, const char *name, usbg_function *f) goto out; } + if (!name) + name = f->name; + b = usbg_get_binding(c, name); if (b) { ERROR("duplicate binding name\n"); |