We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7d73506 + 1639ec8 commit 4ee9e7fCopy full SHA for 4ee9e7f
src/storage_socket.c
@@ -98,7 +98,7 @@ socket_initialize(struct storage_module *module)
98
if (module->is_initialized)
99
return -1;
100
101
- if(addr_init(ctx->config, &(ctx->address)) == -1){
+ if(addr_init(ctx->config, &(ctx->address)) == 0){
102
zsys_error("socket: failed to parse uri: %s", ctx->config.address);
103
goto error;
104
}
0 commit comments