Changeset 5232:fbb11f4f080a in roaraudio


Ignore:
Timestamp:
11/12/11 14:42:23 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

better init

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/basic.c

    r5231 r5232  
    285285 
    286286 memset(con, 0, sizeof(struct roar_connection)); 
     287 con->refc        = 0; 
     288 con->flags       = ROAR_CON_FLAGS_NONE; 
     289 con->version     = 0; 
     290 con->cb_userdata = NULL; 
     291 con->cb          = NULL; 
     292 
     293 roar_err_init(&(con->errorframe)); 
    287294 
    288295 if ( roar_vio_open_fh_socket(&(con->viocon), fh) != -1 ) { 
Note: See TracChangeset for help on using the changeset viewer.