tags 496823 + patch thanks On Sep 04 00:05, Andreas Putzo wrote: > This fails with that error message for real servers too. > The problem could be in xmpp_login(): > > my @res; > my $arghash = { > hostname => $host, > tls => $tls, > connectiontype => 'tcpip', > componentname => $comp, > > }; > $arghash->{port} = $port if (!$port); > if (!$port) { > @res = $cnx->Connect(%$arghash); > > > Shouldn't this be more like this? > > $arghash->{port} = $port if ($port); > > > Anyway, after changing this, sendxmpp seems to run fine > > $ echo test | sendxmpp -v -u <user> -p <pass> -j <server> <recipient> > sendxmpp: Connect: 1 > sendxmpp: AuthSend: ok > sendxmpp: MessageSend > sendxmpp: Disconnect > > but i never received the message..
I now tested with another client and received the message. I don't know yet why it doesn't work with bitlbee which i used before but this seems not to be sendxmpp's fault. So it's just a little typo with the $port assignment. Regards, Andreas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]