Changeset 5142 for trunk/daemon/client.c


Ignore:
Timestamp:
Feb 27, 2008, 4:47:58 PM (14 years ago)
Author:
charles
Message:

make struct ipc_info opaque. const-ify the ipcparse functions where possible.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/daemon/client.c

    r5137 r5142  
    170170    if( NULL == con->ipc )
    171171    {
    172         mallocmsg( sizeof *con->ipc );
    173172        close( fd );
    174173        free( con );
     
    293292    if( NULL == con->ipc )
    294293    {
    295         mallocmsg( sizeof *con->ipc );
    296294        bufferevent_free( con->evin );
    297295        bufferevent_free( con->evout );
     
    763761    struct stritem * jj;
    764762
    765     if( !HASVERS( con->ipc ) )
     763    if( !ipc_hasvers( con->ipc ) )
    766764    {
    767765        return;
Note: See TracChangeset for help on using the changeset viewer.