projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c63326
)
curltlssink: swap check
author
Stefan Sauer
<ensonic@users.sf.net>
Wed, 24 Sep 2014 19:07:20 +0000
(21:07 +0200)
committer
Stefan Sauer
<ensonic@users.sf.net>
Wed, 24 Sep 2014 20:25:55 +0000
(22:25 +0200)
Lets check for NULL first, as that is the default anyway.
ext/curl/gstcurltlssink.c
patch
|
blob
|
history
diff --git
a/ext/curl/gstcurltlssink.c
b/ext/curl/gstcurltlssink.c
index
b6de969
..
35c1c1c
100644
(file)
--- a/
ext/curl/gstcurltlssink.c
+++ b/
ext/curl/gstcurltlssink.c
@@
-247,8
+247,8
@@
gst_curl_tls_sink_set_options_unlocked (GstCurlBaseSink * bcsink)
}
/* crypto engine */
- if ((
g_strcmp0 (sink->crypto_engine, "auto") == 0
) ||
- (s
ink->crypto_engine == NULL
)) {
+ if ((
sink->crypto_engine == NULL
) ||
+ (s
trcmp (sink->crypto_engine, "auto") == 0
)) {
res = curl_easy_setopt (bcsink->curl, CURLOPT_SSLENGINE_DEFAULT, 1L);
if (res != CURLE_OK) {
bcsink->error =