Navigation



Ignore:
Timestamp:
Mar 15, 2013, 2:45:03 AM (11 years ago)
Author:
Thomas Klausner <tk@giga.or.at>
Branch:
default
Phase:
public
Message:

Remove more newlines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/dbg_interactive/routing.i

    r740 r979  
    8383%extend rtd_candidate {
    8484        void dump() {
    85                 fd_log_debug("candidate %p\n", $self);
    86                 fd_log_debug("  id : %s\n",  $self->diamid);
    87                 fd_log_debug("  rlm: %s\n", $self->realm);
    88                 fd_log_debug("  sc : %d\n", $self->score);
     85                fd_log_debug("candidate %p", $self);
     86                fd_log_debug("  id : %s",  $self->diamid);
     87                fd_log_debug("  rlm: %s", $self->realm);
     88                fd_log_debug("  sc : %d", $self->score);
    8989        }
    9090}
     
    9999       
    100100        if (!pycb) {
    101                 fd_log_debug("Internal error: missing the callback!\n");
     101                fd_log_debug("Internal error: missing the callback!");
    102102                return ENOTSUP;
    103103        }
     
    113113        /* The result is supposedly composed of: [ ret, *msg ] */
    114114        if ((result == NULL) || (!PyList_Check(result)) || (PyList_Size(result) != 2)) {
    115                 fd_log_debug("Error: The Python callback did not return [ ret, msg ].\n");
     115                fd_log_debug("Error: The Python callback did not return [ ret, msg ].");
    116116                ret = EINVAL;
    117117                goto out;
     
    120120        /* Convert the return values */
    121121        if (!SWIG_IsOK(SWIG_AsVal_int(PyList_GetItem(result, 0), &ret))) {
    122                 fd_log_debug("Error: Cannot convert the first return value to integer.\n");
     122                fd_log_debug("Error: Cannot convert the first return value to integer.");
    123123                ret = EINVAL;
    124124                goto out;
    125125        }
    126126        if (ret) {
    127                 TRACE_DEBUG(INFO, "The Python callback returned the error code %d (%s)\n", ret, strerror(ret));
     127                TRACE_DEBUG(INFO, "The Python callback returned the error code %d (%s)", ret, strerror(ret));
    128128                goto out;
    129129        }
    130130       
    131131        if (!SWIG_IsOK(SWIG_ConvertPtr(PyList_GetItem(result, 1), (void *)msg, SWIGTYPE_p_msg, SWIG_POINTER_DISOWN))) {
    132                 fd_log_debug("Error: Cannot convert the second return value to message.\n");
     132                fd_log_debug("Error: Cannot convert the second return value to message.");
    133133                ret = EINVAL;
    134134                goto out;
     
    183183       
    184184        if (!pycb) {
    185                 fd_log_debug("Internal error: missing the callback!\n");
     185                fd_log_debug("Internal error: missing the callback!");
    186186                return ENOTSUP;
    187187        }
     
    198198        /* The result is supposedly composed of: [ ret, *msg ] */
    199199        if (result == NULL){
    200                 fd_log_debug("Error: The Python callback raised an exception.\n");
     200                fd_log_debug("Error: The Python callback raised an exception.");
    201201                ret = EINVAL;
    202202                goto out;
     
    205205        /* Convert the return values */
    206206        if (!SWIG_IsOK(SWIG_AsVal_int(result, &ret))) {
    207                 fd_log_debug("Error: Cannot convert the return value to integer.\n");
     207                fd_log_debug("Error: Cannot convert the return value to integer.");
    208208                ret = EINVAL;
    209209                goto out;
Note: See TracChangeset for help on using the changeset viewer.