Navigation


Changeset 1099:6ce5c99a40af in freeDiameter


Ignore:
Timestamp:
May 8, 2013, 9:40:20 PM (11 years ago)
Author:
Thomas Klausner <tk@giga.or.at>
Branch:
default
Phase:
public
Message:

Fix some typos.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • include/freeDiameter/libfdcore.h

    r1088 r1099  
    953953       
    954954        HOOK_MESSAGE_FAILOVER,
    955                 /* Hook called when a message that was sent to a peer is being requeued, because e.g. the connection was teared down.
     955                /* Hook called when a message that was sent to a peer is being requeued, because e.g. the connection was torn down.
    956956                   In that case the message will go again through the routing process.
    957957                 - {msg} points to the corresponding request message (the answer is discarded). Again, the objects may not have been dictionary resolved. If you
     
    10221022
    10231023
    1024 /* Type if the {permsgdata} ointer. It is up to each extension to define its own structure. This is opaque for the framework. */
     1024/* Type of the {permsgdata} pointer. It is up to each extension to define its own structure. This is opaque for the framework. */
    10251025struct fd_hook_permsgdata;
    10261026
     
    10351035 *
    10361036 * PARAMETERS:
    1037  *  permsgdata_new_cb     : function called to initialize a new empty fd_hook_permsgdata structure, when a hook will be called for a message with not structure yet. If the function returns NULL, it will be called again for the next hook.
     1037 *  permsgdata_new_cb     : function called to initialize a new empty fd_hook_permsgdata structure, when a hook will be called for a message with no structure yet. If the function returns NULL, it will be called again for the next hook.
    10381038 *  permsgdata_destroy_cb : function called when a message is being disposed. It should free the resources associated with the fd_hook_permsgdata.
    10391039 *  new_handle            : On success, a handler to the registered callback is stored here.
  • libfdcore/cnxctx.c

    r1084 r1099  
    17561756       
    17571757                default:
    1758                         TRACE_DEBUG(INFO, "Unknwon protocol: %d", conn->cc_proto);
     1758                        TRACE_DEBUG(INFO, "Unknown protocol: %d", conn->cc_proto);
    17591759                        ASSERT(0);
    17601760                        return ENOTSUP; /* or EINVAL... */
  • libfdcore/p_sr.c

    r1078 r1099  
    196196        } while (1);
    197197error: 
    198         ; /* pthread_cleanup_pop sometimes expands as "} ..." and the label beofre this cause some compilers to complain... */
     198        ; /* pthread_cleanup_pop sometimes expands as "} ..." and the label before this cause some compilers to complain... */
    199199        pthread_cleanup_pop( 1 );
    200200        ASSERT(0); /* we have encountered a problem, maybe time to signal the framework to terminate? */
  • libfdproto/messages.c

    r1096 r1099  
    12511251                return anscb ? EINVAL : 0; /* we associate with requests only */
    12521252       
    1253         CHECK_PARAMS( (anscb == NULL)    || (msg->msg_cb.anscb == NULL) ); /* We are not overwritting a cb */
    1254         CHECK_PARAMS( (expirecb == NULL) || (msg->msg_cb.expirecb == NULL) ); /* We are not overwritting a cb */
     1253        CHECK_PARAMS( (anscb == NULL)    || (msg->msg_cb.anscb == NULL) ); /* We are not overwriting a cb */
     1254        CHECK_PARAMS( (expirecb == NULL) || (msg->msg_cb.expirecb == NULL) ); /* We are not overwriting a cb */
    12551255       
    12561256        /* Associate callback and data with the message, if any */
Note: See TracChangeset for help on using the changeset viewer.