X-Git-Url: http://git.cascardo.info/?p=cascardo%2Fpubsub-bot.git;a=blobdiff_plain;f=status.c;h=6af0d446b80c034269746bc4ee277aa211797d11;hp=cd77307194e7f36ec1e0c35fe77041ae3af5a7a5;hb=7f0b0f9227a9bf5f51cae501f71bde6aa0598a78;hpb=30cb193108745ada5680683a693519fdfa4cd946 diff --git a/status.c b/status.c index cd77307..6af0d44 100644 --- a/status.c +++ b/status.c @@ -347,6 +347,10 @@ hook (void *data, int type, iks *node) if (xmpp_features_hook (parser, node) == 0) return IKS_OK; } + else if (!iks_strcmp (name, "stream:error")) + { + printf ("streamerror: %s\n", iks_string (iks_stack (node), node)); + } else { if (xmpp_other_hook (parser, node, ns) == 0)