diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-08-07 17:33:02 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-08-07 17:33:02 +0100 |
commit | daae10fbfe16bac26f74af91faf253d377f1b166 (patch) | |
tree | e7870e81be568ab10abcc1bf8639a9191dbbb9c1 /lib/oauth.c | |
parent | 289bd2d47ff58f42879ad50ebbc1b193831e4a78 (diff) |
OpenSolaris (non-gcc) fixes, patches from Dagobert Michelsen <dam@opencsw.org>
with some changes.
Diffstat (limited to 'lib/oauth.c')
-rw-r--r-- | lib/oauth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oauth.c b/lib/oauth.c index c60a5a52..57dd10f8 100644 --- a/lib/oauth.c +++ b/lib/oauth.c @@ -59,7 +59,7 @@ static char *oauth_sign( const char *method, const char *url, else { g_snprintf( (gchar*) key, HMAC_BLOCK_SIZE + 1, "%s&%s", - oi->sp->consumer_secret, oi->token_secret ? : "" ); + oi->sp->consumer_secret, oi->token_secret ? oi->token_secret : "" ); } /* Inner part: H(K XOR 0x36, text) */ |