|
|
@ -221,9 +221,11 @@ main(int argc, char **argv)
|
|
|
|
if (xmppipe_connect_init(state) < 0)
|
|
|
|
if (xmppipe_connect_init(state) < 0)
|
|
|
|
errx(EXIT_FAILURE, "XMPP handshake failed");
|
|
|
|
errx(EXIT_FAILURE, "XMPP handshake failed");
|
|
|
|
|
|
|
|
|
|
|
|
if (xmppipe_sandbox_init(state) < 0) {
|
|
|
|
if (state->verbose)
|
|
|
|
|
|
|
|
(void)fprintf(stderr, "sandbox: entering %s\n", XMPPIPE_SANDBOX);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (xmppipe_sandbox_init(state) < 0)
|
|
|
|
err(EXIT_FAILURE, "sandbox failed");
|
|
|
|
err(EXIT_FAILURE, "sandbox failed");
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (xmppipe_stream_init(state) < 0)
|
|
|
|
if (xmppipe_stream_init(state) < 0)
|
|
|
|
errx(EXIT_FAILURE, "enabling stream management failed");
|
|
|
|
errx(EXIT_FAILURE, "enabling stream management failed");
|
|
|
|