Changes in uspace/srv/net/dnsrsrv/dnsrsrv.c [25a179e:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/dnsrsrv/dnsrsrv.c
r25a179e rb7fd2a0 54 54 static void dnsr_client_conn(ipc_callid_t, ipc_call_t *, void *); 55 55 56 static int dnsr_init(void)57 { 58 int rc;56 static errno_t dnsr_init(void) 57 { 58 errno_t rc; 59 59 log_msg(LOG_DEFAULT, LVL_DEBUG, "dnsr_init()"); 60 60 … … 93 93 94 94 char *name; 95 int rc = async_data_write_accept((void **) &name, true, 0,95 errno_t rc = async_data_write_accept((void **) &name, true, 0, 96 96 DNS_NAME_MAX_SIZE, 0, NULL); 97 97 if (rc != EOK) { … … 171 171 // FIXME locking 172 172 173 int rc = async_data_read_finalize(callid, &dns_server_addr, size);173 errno_t rc = async_data_read_finalize(callid, &dns_server_addr, size); 174 174 if (rc != EOK) 175 175 async_answer_0(callid, rc); … … 199 199 // FIXME locking 200 200 201 int rc = async_data_write_finalize(callid, &dns_server_addr, size);201 errno_t rc = async_data_write_finalize(callid, &dns_server_addr, size); 202 202 if (rc != EOK) { 203 203 async_answer_0(callid, rc); … … 246 246 int main(int argc, char *argv[]) 247 247 { 248 int rc;248 errno_t rc; 249 249 250 250 printf("%s: DNS Resolution Service\n", NAME);
Note:
See TracChangeset
for help on using the changeset viewer.