Displaying 2 results from an estimated 2 matches for "curlproto_goph".
Did you mean:
  curlproto_gopher
  
2019 Sep 20
2
[nbdkit PATCH] curl: Compile with libcurl even without smb(s) protocols
....c
index 7e3e8c923721..acd3333d5b88 100644
--- a/plugins/curl/curl.c
+++ b/plugins/curl/curl.c
@@ -118,8 +118,12 @@ static struct { const char *name; long bitmask; } curl_protocols[] = {
   { "rtmps", CURLPROTO_RTMPS },
   { "rtmpts", CURLPROTO_RTMPTS },
   { "gopher", CURLPROTO_GOPHER },
+#ifdef CURLPROTO_SMB
   { "smb", CURLPROTO_SMB },
+#endif /* CURLPROTO_SMB */
+#ifdef CURLPROTO_SMBS
   { "smbs", CURLPROTO_SMBS },
+#endif /* CURLPROTO_SMBS */
   { NULL }
 };
 
-- 
2.23.0
2019 Sep 20
0
Re: [nbdkit PATCH] curl: Compile with libcurl even without smb(s) protocols
...d5b88 100644
> --- a/plugins/curl/curl.c
> +++ b/plugins/curl/curl.c
> @@ -118,8 +118,12 @@ static struct { const char *name; long bitmask; } curl_protocols[] = {
>    { "rtmps", CURLPROTO_RTMPS },
>    { "rtmpts", CURLPROTO_RTMPTS },
>    { "gopher", CURLPROTO_GOPHER },
> +#ifdef CURLPROTO_SMB
>    { "smb", CURLPROTO_SMB },
> +#endif /* CURLPROTO_SMB */
> +#ifdef CURLPROTO_SMBS
>    { "smbs", CURLPROTO_SMBS },
> +#endif /* CURLPROTO_SMBS */
>    { NULL }
>  };
I may be missing something but don't we have this a...