aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/yahoo
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-08-07 17:33:02 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-08-07 17:33:02 +0100
commitdaae10fbfe16bac26f74af91faf253d377f1b166 (patch)
treee7870e81be568ab10abcc1bf8639a9191dbbb9c1 /protocols/yahoo
parent289bd2d47ff58f42879ad50ebbc1b193831e4a78 (diff)
OpenSolaris (non-gcc) fixes, patches from Dagobert Michelsen <dam@opencsw.org>
with some changes.
Diffstat (limited to 'protocols/yahoo')
-rw-r--r--protocols/yahoo/Makefile2
-rw-r--r--protocols/yahoo/libyahoo2.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/protocols/yahoo/Makefile b/protocols/yahoo/Makefile
index 20ecce71..a8021ffb 100644
--- a/protocols/yahoo/Makefile
+++ b/protocols/yahoo/Makefile
@@ -14,7 +14,7 @@ endif
# [SH] Program variables
objects = yahoo.o crypt.o libyahoo2.o yahoo_fn.o yahoo_httplib.o yahoo_util.o
-CFLAGS += -Wall -DSTDC_HEADERS -DHAVE_STRING_H -DHAVE_STRCHR -DHAVE_MEMCPY -DHAVE_GLIB
+CFLAGS += -DSTDC_HEADERS -DHAVE_STRING_H -DHAVE_STRCHR -DHAVE_MEMCPY -DHAVE_GLIB
LFLAGS += -r
# [SH] Phony targets
diff --git a/protocols/yahoo/libyahoo2.c b/protocols/yahoo/libyahoo2.c
index 9e0d705b..b062e7f9 100644
--- a/protocols/yahoo/libyahoo2.c
+++ b/protocols/yahoo/libyahoo2.c
@@ -1858,7 +1858,8 @@ static void yahoo_https_auth_token_finish(struct http_request *req)
goto fail;
}
- return yahoo_https_auth_init(had);
+ yahoo_https_auth_init(had);
+ return;
fail:
g_free(had->token);