Changeset 5a6cc679 in mainline for uspace/srv/net/dnsrsrv/dnsrsrv.c


Ignore:
Timestamp:
2018-01-31T02:21:24Z (7 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a0a9cc2
Parents:
132ab5d1
Message:

Merge commit '50f19b7ee8e94570b5c63896736c4eb49cfa18db' into forwardport

Not all ints are converted to errno_t in xhci tree yet, however it compiles and works :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/dnsrsrv/dnsrsrv.c

    r132ab5d1 r5a6cc679  
    5454static void dnsr_client_conn(ipc_callid_t, ipc_call_t *, void *);
    5555
    56 static int dnsr_init(void)
    57 {
    58         int rc;
     56static errno_t dnsr_init(void)
     57{
     58        errno_t rc;
    5959        log_msg(LOG_DEFAULT, LVL_DEBUG, "dnsr_init()");
    6060
     
    9393       
    9494        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,
    9696            DNS_NAME_MAX_SIZE, 0, NULL);
    9797        if (rc != EOK) {
     
    171171        // FIXME locking
    172172       
    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);
    174174        if (rc != EOK)
    175175                async_answer_0(callid, rc);
     
    199199        // FIXME locking
    200200       
    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);
    202202        if (rc != EOK) {
    203203                async_answer_0(callid, rc);
     
    246246int main(int argc, char *argv[])
    247247{
    248         int rc;
     248        errno_t rc;
    249249
    250250        printf("%s: DNS Resolution Service\n", NAME);
Note: See TracChangeset for help on using the changeset viewer.