aboutsummaryrefslogtreecommitdiff
path: root/lib/dict.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-02-20 17:35:51 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-02-20 17:35:51 +0000
commita1d6ad26100bc493c7b04f1301b1634b7f5aa8b4 (patch)
treea65ec14897e79381082a0b32b4c0bd8809a308b7 /lib/dict.c
parent5f3d63ed5b17ce1803b5e2b61b53d27ec732f302 (diff)
multiple connection support initial commit
Diffstat (limited to 'lib/dict.c')
-rw-r--r--lib/dict.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/dict.c b/lib/dict.c
index 0dd9dbb9c..893ef256e 100644
--- a/lib/dict.c
+++ b/lib/dict.c
@@ -141,7 +141,7 @@ CURLcode Curl_dict(struct connectdata *conn)
nth = atoi(nthdef);
}
- Curl_sendf(data->firstsocket, conn,
+ Curl_sendf(conn->firstsocket, conn,
"CLIENT " LIBCURL_NAME " " LIBCURL_VERSION "\n"
"MATCH "
"%s " /* database */
@@ -154,7 +154,7 @@ CURLcode Curl_dict(struct connectdata *conn)
word
);
- result = Curl_Transfer(conn, data->firstsocket, -1, FALSE, bytecount,
+ result = Curl_Transfer(conn, conn->firstsocket, -1, FALSE, bytecount,
-1, NULL); /* no upload */
if(result)
@@ -191,7 +191,7 @@ CURLcode Curl_dict(struct connectdata *conn)
nth = atoi(nthdef);
}
- Curl_sendf(data->firstsocket, conn,
+ Curl_sendf(conn->firstsocket, conn,
"CLIENT " LIBCURL_NAME " " LIBCURL_VERSION "\n"
"DEFINE "
"%s " /* database */
@@ -202,7 +202,7 @@ CURLcode Curl_dict(struct connectdata *conn)
word
);
- result = Curl_Transfer(conn, data->firstsocket, -1, FALSE, bytecount,
+ result = Curl_Transfer(conn, conn->firstsocket, -1, FALSE, bytecount,
-1, NULL); /* no upload */
if(result)
@@ -220,13 +220,13 @@ CURLcode Curl_dict(struct connectdata *conn)
if (ppath[i] == ':')
ppath[i] = ' ';
}
- Curl_sendf(data->firstsocket, conn,
+ Curl_sendf(conn->firstsocket, conn,
"CLIENT " LIBCURL_NAME " " LIBCURL_VERSION "\n"
"%s\n"
"QUIT\n",
ppath);
- result = Curl_Transfer(conn, data->firstsocket, -1, FALSE, bytecount,
+ result = Curl_Transfer(conn, conn->firstsocket, -1, FALSE, bytecount,
-1, NULL);
if(result)