summaryrefslogtreecommitdiff
path: root/lib/smb.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-12-24 17:10:28 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-12-24 17:10:28 +0000
commit93e6273b68cfb70cd987ce830da894f9aad0126d (patch)
tree61c93700cc5c60cdbb4c47db3fb610c46567bffb /lib/smb.c
parent68cc1e0c77de290df1bf0d3fe138f65bca75ab39 (diff)
downloadcurl-93e6273b68cfb70cd987ce830da894f9aad0126d.tar.gz
smb: Use standard naming for setup connection function
Renamed smb_setup() to smb_setup_connection() to follow more widely used function naming.
Diffstat (limited to 'lib/smb.c')
-rw-r--r--lib/smb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/smb.c b/lib/smb.c
index a8fcf4acc..a097c8919 100644
--- a/lib/smb.c
+++ b/lib/smb.c
@@ -50,7 +50,7 @@
#include "memdebug.h"
/* Local API functions */
-static CURLcode smb_setup(struct connectdata *conn);
+static CURLcode smb_setup_connection(struct connectdata *conn);
static CURLcode smb_connect(struct connectdata *conn, bool *done);
static CURLcode smb_connection_state(struct connectdata *conn, bool *done);
static CURLcode smb_request_state(struct connectdata *conn, bool *done);
@@ -66,7 +66,7 @@ static CURLcode smb_parse_url_path(struct connectdata *conn);
*/
const struct Curl_handler Curl_handler_smb = {
"SMB", /* scheme */
- smb_setup, /* setup_connection */
+ smb_setup_connection, /* setup_connection */
ZERO_NULL, /* do_it */
smb_done, /* done */
ZERO_NULL, /* do_more */
@@ -90,7 +90,7 @@ const struct Curl_handler Curl_handler_smb = {
*/
const struct Curl_handler Curl_handler_smbs = {
"SMBS", /* scheme */
- smb_setup, /* setup_connection */
+ smb_setup_connection, /* setup_connection */
ZERO_NULL, /* do_it */
smb_done, /* done */
ZERO_NULL, /* do_more */
@@ -225,7 +225,7 @@ static void request_state(struct connectdata *conn,
req->state = newstate;
}
-static CURLcode smb_setup(struct connectdata *conn)
+static CURLcode smb_setup_connection(struct connectdata *conn)
{
struct smb_request *req;