summaryrefslogtreecommitdiff
path: root/examples/lastfm-shout.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2016-07-14 12:32:51 +0200
committerTimm Bäder <mail@baedert.org>2016-07-14 12:32:51 +0200
commit1c2e5d826127ce6f0c51e75ee2b55e9d2ed4f615 (patch)
treee8e9cb64b8d0a2466a38f0b9e084083e0bc4e64a /examples/lastfm-shout.c
parent3ecac7e9973c58d0891c85041e4eb16dbc3d47ed (diff)
downloadlibrest-1c2e5d826127ce6f0c51e75ee2b55e9d2ed4f615.tar.gz
examples: Make c89 compatible
Diffstat (limited to 'examples/lastfm-shout.c')
-rw-r--r--examples/lastfm-shout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/lastfm-shout.c b/examples/lastfm-shout.c
index 254ed63..e852e01 100644
--- a/examples/lastfm-shout.c
+++ b/examples/lastfm-shout.c
@@ -79,7 +79,7 @@ main (int argc, char **argv)
RestProxy *proxy;
RestProxyCall *call;
RestXmlNode *root;
- char *token, *url, *userid = NULL, *session = NULL;;
+ char *token, *url, *userid = NULL, *session = NULL;
GOptionEntry entries[] = {
{ "session", 's', 0, G_OPTION_ARG_STRING, &session, "Session key (optional)", "KEY" },
{ "user", 'u', 0, G_OPTION_ARG_STRING, &userid, "User to send a message to", "USERNAME" },