mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-25 22:46:04 +03:00
Use better expression for asprintf.
This commit is contained in:
parent
e8b4f4c5e1
commit
2d8214aa31
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ int csync_vio_init(CSYNC *ctx, const char *module, const char *args) {
|
|||
csync_vio_method_init_fn init_fn;
|
||||
|
||||
#if DEVELOPER
|
||||
if (asprintf(&path, "%s/csync_%s.so", SYSCONFDIR "/modules", module) < 0) {
|
||||
if (asprintf(&path, "%s/modules/csync_%s.so", SYSCONFDIR, module) < 0) {
|
||||
#else
|
||||
if (asprintf(&path, "%s/csync_%s.so", PLUGINDIR, module) < 0) {
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue