diff --git a/src/xmppipe.c b/src/xmppipe.c index 2af6df4..ced11e9 100644 --- a/src/xmppipe.c +++ b/src/xmppipe.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2015-2022, Michael Santos +/* Copyright (c) 2015-2023, Michael Santos * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -78,6 +78,10 @@ int main(int argc, char **argv) { int ch = 0; +#ifdef XMPP_CONN_FLAG_DISABLE_SM + flags |= XMPP_CONN_FLAG_DISABLE_SM; +#endif + if (setvbuf(stdout, NULL, _IOLBF, 0) < 0) err(EXIT_FAILURE, "setvbuf"); diff --git a/src/xmppipe.h b/src/xmppipe.h index dd6a0bc..ff9595e 100644 --- a/src/xmppipe.h +++ b/src/xmppipe.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2015-2022, Michael Santos +/* Copyright (c) 2015-2023, Michael Santos * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -27,7 +27,7 @@ #include "strtonum.h" #endif -#define XMPPIPE_VERSION "0.14.5" +#define XMPPIPE_VERSION "0.14.6" #define XMPPIPE_RESOURCE "xmppipe" #define XMPPIPE_STREQ(a, b) (strcmp((a), (b)) == 0)