aboutsummaryrefslogtreecommitdiff
path: root/lib/telnet.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-02-28 12:20:08 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-02-28 12:20:08 +0000
commit9121b1f41dd4860089afba8227e94b85423ceed3 (patch)
tree3babc93e85ac7905dcb0027e46962446c50e4f90 /lib/telnet.c
parent60e015d0c191b51e5766ebeb98c420ca0111e098 (diff)
the strequal and strnequal should now be called with the proper curl_ prefix
Diffstat (limited to 'lib/telnet.c')
-rw-r--r--lib/telnet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/telnet.c b/lib/telnet.c
index fae4926cd..a6b74bace 100644
--- a/lib/telnet.c
+++ b/lib/telnet.c
@@ -765,7 +765,7 @@ static int check_telnet_options(struct connectdata *conn)
option_keyword, option_arg) == 2) {
/* Terminal type */
- if(strequal(option_keyword, "TTYPE")) {
+ if(curl_strequal(option_keyword, "TTYPE")) {
strncpy(tn->subopt_ttype, option_arg, 31);
tn->subopt_ttype[31] = 0; /* String termination */
tn->us_preferred[TELOPT_TTYPE] = YES;
@@ -773,7 +773,7 @@ static int check_telnet_options(struct connectdata *conn)
}
/* Display variable */
- if(strequal(option_keyword, "XDISPLOC")) {
+ if(curl_strequal(option_keyword, "XDISPLOC")) {
strncpy(tn->subopt_xdisploc, option_arg, 127);
tn->subopt_xdisploc[127] = 0; /* String termination */
tn->us_preferred[TELOPT_XDISPLOC] = YES;
@@ -781,7 +781,7 @@ static int check_telnet_options(struct connectdata *conn)
}
/* Environment variable */
- if(strequal(option_keyword, "NEW_ENV")) {
+ if(curl_strequal(option_keyword, "NEW_ENV")) {
buf = strdup(option_arg);
if(!buf)
return CURLE_OUT_OF_MEMORY;