From 93e6273b68cfb70cd987ce830da894f9aad0126d Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Wed, 24 Dec 2014 17:10:28 +0000 Subject: smb: Use standard naming for setup connection function Renamed smb_setup() to smb_setup_connection() to follow more widely used function naming. --- lib/smb.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/smb.c') 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; -- cgit v1.2.3