diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-01-25 12:13:35 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-01-25 12:13:35 +0000 |
commit | 1a329b98a34c34f46c62a7d4d3d12eb25a313452 (patch) | |
tree | e84bf38c95c5f8e7338f19e8d1abe9f6fe78eeb8 /lib/dict.c | |
parent | 29bcba9a9075265cefd967a1dfdbac50a6958245 (diff) | |
download | curl-1a329b98a34c34f46c62a7d4d3d12eb25a313452.tar.gz |
replaced sendf() calls with Curl_sendf()
Diffstat (limited to 'lib/dict.c')
-rw-r--r-- | lib/dict.c | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/lib/dict.c b/lib/dict.c index 6c4a60857..0dd9dbb9c 100644 --- a/lib/dict.c +++ b/lib/dict.c @@ -141,21 +141,21 @@ CURLcode Curl_dict(struct connectdata *conn) nth = atoi(nthdef); } - sendf(data->firstsocket, data, - "CLIENT " LIBCURL_NAME " " LIBCURL_VERSION "\n" - "MATCH " - "%s " /* database */ - "%s " /* strategy */ - "%s\n" /* word */ - "QUIT\n", + Curl_sendf(data->firstsocket, conn, + "CLIENT " LIBCURL_NAME " " LIBCURL_VERSION "\n" + "MATCH " + "%s " /* database */ + "%s " /* strategy */ + "%s\n" /* word */ + "QUIT\n", - database, - strategy, - word - ); + database, + strategy, + word + ); result = Curl_Transfer(conn, data->firstsocket, -1, FALSE, bytecount, - -1, NULL); /* no upload */ + -1, NULL); /* no upload */ if(result) return result; @@ -191,20 +191,20 @@ CURLcode Curl_dict(struct connectdata *conn) nth = atoi(nthdef); } - sendf(data->firstsocket, data, - "CLIENT " LIBCURL_NAME " " LIBCURL_VERSION "\n" - "DEFINE " - "%s " /* database */ - "%s\n" /* word */ - "QUIT\n", - - database, - word - ); + Curl_sendf(data->firstsocket, conn, + "CLIENT " LIBCURL_NAME " " LIBCURL_VERSION "\n" + "DEFINE " + "%s " /* database */ + "%s\n" /* word */ + "QUIT\n", + + database, + word + ); result = Curl_Transfer(conn, data->firstsocket, -1, FALSE, bytecount, - -1, NULL); /* no upload */ - + -1, NULL); /* no upload */ + if(result) return result; @@ -220,14 +220,14 @@ CURLcode Curl_dict(struct connectdata *conn) if (ppath[i] == ':') ppath[i] = ' '; } - sendf(data->firstsocket, data, - "CLIENT " LIBCURL_NAME " " LIBCURL_VERSION "\n" - "%s\n" - "QUIT\n", - ppath); + Curl_sendf(data->firstsocket, conn, + "CLIENT " LIBCURL_NAME " " LIBCURL_VERSION "\n" + "%s\n" + "QUIT\n", + ppath); result = Curl_Transfer(conn, data->firstsocket, -1, FALSE, bytecount, - -1, NULL); + -1, NULL); if(result) return result; |