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/peers.i

    r740 r979  
    4545       
    4646        if (!data) {
    47                 TRACE_DEBUG(INFO, "Internal error: missing callback\n");
     47                TRACE_DEBUG(INFO, "Internal error: missing callback");
    4848                return;
    4949        }
     
    119119       
    120120        if (!validate_cb2_py) {
    121                 fd_log_debug("Internal error: missing the callback2!\n");
     121                fd_log_debug("Internal error: missing the callback2!");
    122122                return ENOTSUP;
    123123        }
     
    132132        /* The result is an integer */
    133133        if ((result == NULL) || !SWIG_IsOK(SWIG_AsVal_int(result, &ret))) {
    134                 fd_log_debug("Error: The Python callback did not return an integer.\n");
     134                fd_log_debug("Error: The Python callback did not return an integer.");
    135135                ret = EINVAL;
    136136                goto out;
     
    150150       
    151151        if (!validate_cb_py) {
    152                 fd_log_debug("Internal error: missing the callback!\n");
     152                fd_log_debug("Internal error: missing the callback!");
    153153                return ENOTSUP;
    154154        }
     
    163163        /* The result is supposedly -1, 1, or a cb2 */
    164164        if (result == NULL) {
    165                 fd_log_debug("Error: The Python callback did not return a value.\n");
     165                fd_log_debug("Error: The Python callback did not return a value.");
    166166                ret = EINVAL;
    167167                goto out;
     
    171171                if (cb2) {
    172172                        if (validate_cb2_py && (validate_cb2_py != result)) {
    173                                 fd_log_debug("Only 1 register callback2 is supported currently\n");
     173                                fd_log_debug("Only 1 register callback2 is supported currently");
    174174                                ret = ENOTSUP;
    175175                                goto out;
     
    185185        } else { /* In this case, the return value must be -1, 0, or 1 */
    186186                if (!SWIG_IsOK(SWIG_AsVal_int(result, auth))) {
    187                         fd_log_debug("Error: Cannot convert the return value to integer.\n");
     187                        fd_log_debug("Error: Cannot convert the return value to integer.");
    188188                        ret = EINVAL;
    189189                        goto out;
Note: See TracChangeset for help on using the changeset viewer.