diff options
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) */ |