aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2005-02-09 11:50:41 +0000
committerGisle Vanem <gvanem@broadpark.no>2005-02-09 11:50:41 +0000
commit120f17ce04794f55603a1edcd8ec8f89a09fe4ca (patch)
treeeffcd40982f0cae074d673f8d43985aff6e27dbf /lib
parentab938bb9bdb273749e521508f3373b5859cc4906 (diff)
Replace LF with CRLF. Ref RFC-2229, sec 2.3:
"Each command line must be terminated by a CRLF".
Diffstat (limited to 'lib')
-rw-r--r--lib/dict.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/dict.c b/lib/dict.c
index baddc40de..ef82e0b85 100644
--- a/lib/dict.c
+++ b/lib/dict.c
@@ -136,12 +136,12 @@ CURLcode Curl_dict(struct connectdata *conn)
}
result = Curl_sendf(sockfd, conn,
- "CLIENT " LIBCURL_NAME " " LIBCURL_VERSION "\n"
+ "CLIENT " LIBCURL_NAME " " LIBCURL_VERSION "\r\n"
"MATCH "
"%s " /* database */
"%s " /* strategy */
- "%s\n" /* word */
- "QUIT\n",
+ "%s\r\n" /* word */
+ "QUIT\r\n",
database,
strategy,
@@ -180,11 +180,11 @@ CURLcode Curl_dict(struct connectdata *conn)
}
result = Curl_sendf(sockfd, conn,
- "CLIENT " LIBCURL_NAME " " LIBCURL_VERSION "\n"
+ "CLIENT " LIBCURL_NAME " " LIBCURL_VERSION "\r\n"
"DEFINE "
"%s " /* database */
- "%s\n" /* word */
- "QUIT\n",
+ "%s\r\n" /* word */
+ "QUIT\r\n",
database,
word);
if(result)
@@ -209,9 +209,9 @@ CURLcode Curl_dict(struct connectdata *conn)
ppath[i] = ' ';
}
result = Curl_sendf(sockfd, conn,
- "CLIENT " LIBCURL_NAME " " LIBCURL_VERSION "\n"
- "%s\n"
- "QUIT\n", ppath);
+ "CLIENT " LIBCURL_NAME " " LIBCURL_VERSION "\r\n"
+ "%s\r\n"
+ "QUIT\r\n", ppath);
if(result)
failf(data, "Failed sending DICT request");
else