Commit Graph

6 Commits

Author SHA1 Message Date
jubalh
0c12189d85 Several changes (#18)
Show help if no argument is provided

In case someone calls `xmppc` assume that he doesn't know how to use it.
Which means he might even not be aware of `-h`.
So let's print the help in case no argument is provided instead of
connecting, then discoverin that no mode is selected and disconnecting
again.

Fix segfault when not roster subcommand is provided

_roster_parse_command() segfaults since it assumes there is an argv[0].
Let's test the number of arguments.

Since we are already connected xmpp_connect_client() will wait for a
disconnect. So I introduce a teardown function that is called in both
the error case and the succesful case.

Now _roster_send_query() doesn't disconnect anymore.

Set to development by default

Only set to release when a new release is tagged.
Like this not every developer needs to change the code.
And it's git aka development anyways.

Don't mix german and english

Co-authored-by: Michael Vetter <jubalh@iodoru.org>
Reviewed-on: https://codeberg.org/Anoxinon_e.V./xmppc/pulls/18
2020-11-24 19:19:59 +01:00
DebXWoody
854fa1faf9
xmppc Release 0.1.0 2020-05-16 08:45:05 +02:00
DebXWoody
2da205c88f
Release Version 0.0.6 2020-05-02 16:02:49 +02:00
DebXWoody
94c08dc378
MAM, Bookmarks, Service Discovery
* XEP-0313: Message Archive Management
 * XEP-0048: Bookmarks
 * XEP-0030: Service Discovery
2020-04-23 20:37:22 +02:00
DebXWoody
94f1507e9f
fixed configure.ac for release 2020-04-21 18:21:06 +02:00
DebXWoody
11f325b3f2
Moved xmppc 0.0.3 to Anoxinon Repository 2020-04-19 12:47:14 +02:00