aboutsummaryrefslogtreecommitdiff
path: root/lib/share.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-01-29 13:56:45 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-01-29 13:56:45 +0000
commit4d17d6876e4b2f08380812c4ec113073b0a14639 (patch)
tree7283f07518be4c7250d72ac89c38729563ffa642 /lib/share.c
parent0d6236f7e10468f75d09796ba9640c9054ab1f04 (diff)
Dan Fandrich's cleanup patch to make pedantic compiler options cause less
warnings. Minor edits by me.
Diffstat (limited to 'lib/share.c')
-rw-r--r--lib/share.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/share.c b/lib/share.c
index f077e834e..d6cb7cfdc 100644
--- a/lib/share.c
+++ b/lib/share.c
@@ -178,7 +178,7 @@ curl_share_cleanup(CURLSH *sh)
CURLSHcode
Curl_share_lock(struct SessionHandle *data, curl_lock_data type,
- curl_lock_access access)
+ curl_lock_access accesstype)
{
struct Curl_share *share = data->share;
@@ -186,7 +186,7 @@ Curl_share_lock(struct SessionHandle *data, curl_lock_data type,
return CURLSHE_INVALID;
if(share->specifier & (1<<type)) {
- share->lockfunc(data, type, access, share->clientdata);
+ share->lockfunc(data, type, accesstype, share->clientdata);
}
/* else if we don't share this, pretend successful lock */