Changeset a1a101d in mainline for uspace/srv/net/udp/ucall.c


Ignore:
Timestamp:
2012-08-17T16:58:51Z (12 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bc0ccab
Parents:
920d0fc
Message:

Get rid of log_log_msg()

All calls to log_msg(LVL_*) were rewritten to
log_msg(LOG_DEFAULT, LVL_*).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/udp/ucall.c

    r920d0fc ra1a101d  
    4747        udp_assoc_t *nassoc;
    4848
    49         log_msg(LVL_DEBUG, "udp_uc_create()");
     49        log_msg(LOG_DEFAULT, LVL_DEBUG, "udp_uc_create()");
    5050        nassoc = udp_assoc_new(NULL, NULL);
    5151        if (nassoc == NULL)
     
    5959udp_error_t udp_uc_set_foreign(udp_assoc_t *assoc, udp_sock_t *fsock)
    6060{
    61         log_msg(LVL_DEBUG, "udp_uc_set_foreign(%p, %p)", assoc, fsock);
     61        log_msg(LOG_DEFAULT, LVL_DEBUG, "udp_uc_set_foreign(%p, %p)", assoc, fsock);
    6262
    6363        udp_assoc_set_foreign(assoc, fsock);
     
    6767udp_error_t udp_uc_set_local(udp_assoc_t *assoc, udp_sock_t *lsock)
    6868{
    69         log_msg(LVL_DEBUG, "udp_uc_set_local(%p, %p)", assoc, lsock);
     69        log_msg(LOG_DEFAULT, LVL_DEBUG, "udp_uc_set_local(%p, %p)", assoc, lsock);
    7070
    7171        udp_assoc_set_local(assoc, lsock);
     
    7979        udp_msg_t msg;
    8080
    81         log_msg(LVL_DEBUG, "%s: udp_uc_send()", assoc->name);
     81        log_msg(LOG_DEFAULT, LVL_DEBUG, "%s: udp_uc_send()", assoc->name);
    8282
    8383        msg.data = data;
     
    103103        int rc;
    104104
    105         log_msg(LVL_DEBUG, "%s: udp_uc_receive()", assoc->name);
     105        log_msg(LOG_DEFAULT, LVL_DEBUG, "%s: udp_uc_receive()", assoc->name);
    106106        rc = udp_assoc_recv(assoc, &msg, fsock);
    107107        switch (rc) {
     
    118118void udp_uc_status(udp_assoc_t *assoc, udp_assoc_status_t *astatus)
    119119{
    120         log_msg(LVL_DEBUG, "udp_uc_status()");
     120        log_msg(LOG_DEFAULT, LVL_DEBUG, "udp_uc_status()");
    121121//      cstatus->cstate = conn->cstate;
    122122}
     
    124124void udp_uc_destroy(udp_assoc_t *assoc)
    125125{
    126         log_msg(LVL_DEBUG, "udp_uc_destroy()");
     126        log_msg(LOG_DEFAULT, LVL_DEBUG, "udp_uc_destroy()");
    127127        udp_assoc_remove(assoc);
    128128        udp_assoc_delete(assoc);
Note: See TracChangeset for help on using the changeset viewer.