Changeset 429 for EcnlProtoTool/trunk/asp3_dcre/tinet/netapp/resolver.c
- Timestamp:
- Jul 3, 2020, 7:19:17 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
EcnlProtoTool/trunk/asp3_dcre/tinet/netapp/resolver.c
r331 r429 59 59 #include <kernel.h> 60 60 #include <t_syslog.h> 61 #include <syssvc/logtask.h> 61 #include <target_syssvc.h> 62 #define LOGTASK_PORTID SIO_PORTID 62 63 #include "kernel_cfg.h" 63 64 #include "tinet_cfg.h" … … 253 254 { 254 255 uint_t label_len; 255 uint8_t*tail;256 char *tail; 256 257 257 258 while (*name != '\0') { … … 265 266 266 267 /* ã©ãã«é·ãè¨å®ããã*/ 267 label_len = tail - (uint8_t*)name;268 label_len = tail - name; 268 269 if (label_len > DNS_LABEL_LENGTH) { /* 63 ãªã¯ããããè¶ 269 270 ããã¨ã¨ã©ã¼ */ … … 421 422 422 423 /* ãã¡ã¤ã³åã追å ããã*/ 423 if ((offset = add_name(msg, msg_size, offset, dns_domain_name)) < 0)424 if ((offset = add_name(msg, msg_size, offset, (char *)dns_domain_name)) < 0) 424 425 return offset; 425 426 … … 1075 1076 1076 1077 if (new == NULL) 1077 strcpy( dns_domain_name, RSLV_CFG_DNS_DOMAIN_NAME_STR);1078 strcpy((char *)dns_domain_name, RSLV_CFG_DNS_DOMAIN_NAME_STR); 1078 1079 else { 1079 1080 dst = dns_domain_name;
Note:
See TracChangeset
for help on using the changeset viewer.