aboutsummaryrefslogtreecommitdiffstats
path: root/lib/oauth.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-04-30 23:53:29 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-04-30 23:53:29 +0100
commit85ef57f94436f23447c0d8603b52977824381854 (patch)
tree0a84e0322e4222f8c449bcab8369270bbf5f445f /lib/oauth.c
parenta7c6d0e9a9d985534dc18d450399d6a7ece6c592 (diff)
NULL-initialize two vars that weren't and should.
Diffstat (limited to 'lib/oauth.c')
-rw-r--r--lib/oauth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oauth.c b/lib/oauth.c
index 9fb83922..4a465a2f 100644
--- a/lib/oauth.c
+++ b/lib/oauth.c
@@ -376,7 +376,7 @@ static void oauth_access_token_done( struct http_request *req )
char *oauth_http_header( char *access_token, const char *method, const char *url, char *args )
{
GSList *params = NULL, *l;
- char *token_secret, *sig, *params_s, *s;
+ char *token_secret = NULL, *sig = NULL, *params_s, *s;
GString *ret = NULL;
/* First, get the two pieces of info from the access token that we need. */