aboutsummaryrefslogtreecommitdiff
path: root/src/tool_paramhlp.c
diff options
context:
space:
mode:
authorBill Nagel <wnagel@tycoint.com>2014-11-30 11:27:03 -0500
committerSteve Holme <steve_holme@hotmail.com>2014-11-30 21:32:44 +0000
commitb359badd491eba79289202a32a90ad04f84edc75 (patch)
tree5cf3ee17af7663be3657898f9b88871c8f76899a /src/tool_paramhlp.c
parent6b8e5c0e8aafdc7872758a6798808a0295f08bbd (diff)
curl tool: Enable support for the SMB protocol
This patch enables SMB/CIFS support in the curl command-line tool.
Diffstat (limited to 'src/tool_paramhlp.c')
-rw-r--r--src/tool_paramhlp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tool_paramhlp.c b/src/tool_paramhlp.c
index 18da0265e..0e05184c3 100644
--- a/src/tool_paramhlp.c
+++ b/src/tool_paramhlp.c
@@ -272,6 +272,8 @@ long proto2num(struct OperationConfig *config, long *val, const char *str)
{ "smtps", CURLPROTO_SMTPS },
{ "rtsp", CURLPROTO_RTSP },
{ "gopher", CURLPROTO_GOPHER },
+ { "smb", CURLPROTO_SMB },
+ { "smbs", CURLPROTO_SMBS },
{ NULL, 0 }
};