Changeset 4297:14a3a3ccfb0c in roaraudio for roard/clients.c


Ignore:
Timestamp:
09/03/10 13:45:39 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

support to send long messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/clients.c

    r4254 r4297  
    475475    } 
    476476 
    477     roar_send_message(&con, &m, NULL); 
     477    roar_send_message(&con, &m, flags[1] & COMMAND_FLAG_OUT_LONGDATA ? data : NULL); 
    478478 
    479479    if ( flags[1] & COMMAND_FLAG_OUT_CLOSECON ) 
     
    523523 } 
    524524 
    525  if ( data ) 
     525 if ( data != NULL ) 
    526526  free(data); 
    527527 
Note: See TracChangeset for help on using the changeset viewer.