Changeset 5109:4f9fc788fe91 in roaraudio for libroar/basic.c


Ignore:
Timestamp:
07/28/11 16:32:34 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Started to use compiler attributes (Also see: #130)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/basic.c

    r4945 r5109  
    157157    ) { 
    158158  if ( (server = roar_slp_find_roard(0)) != NULL ) { 
    159    if ( (fh = roar_connect_raw(server)) != -1 ) 
     159   if ( (fh = roar_connect_raw2(server, 0, 0)) != -1 ) 
    160160    return fh; 
    161161 
    162162   /* in case we can not connect to the server given this may be a cache problem, 
    163163      we do a new lookup with the cache disabled in this case                     */ 
    164    ROAR_WARN("roar_connect_raw(*): Can not connect to SLP located server, disabling cache"); 
     164   ROAR_WARN("roar_connect_raw2(*): Can not connect to SLP located server, disabling cache"); 
    165165   if ( (server = roar_slp_find_roard(1)) != NULL ) 
    166     if ( (fh = roar_connect_raw(server)) != -1 ) 
     166    if ( (fh = roar_connect_raw2(server, 0, 0)) != -1 ) 
    167167     return fh; 
    168168  } 
     
    175175 if ( list != NULL ) { 
    176176  for (i = 0; list[i].server != NULL; i++) { 
    177    if ( (fh = roar_connect_raw((char*)list[i].server)) != -1 ) { 
     177   if ( (fh = roar_connect_raw2((char*)list[i].server, 0, 0)) != -1 ) { 
    178178    roar_enum_servers_free(list); 
    179179    return fh; 
     
    218218    strncat(user_sock, ROAR_DEFAULT_OBJECT, DN_MAXOBJL+2); 
    219219#else 
    220     ROAR_ERR("roar_connect_raw(*): size of DECnet object unknown."); 
     220    ROAR_ERR("roar_connect_raw2(*): size of DECnet object unknown."); 
    221221#endif 
    222222   } 
     
    235235  roar_err_set(ROAR_ERROR_CONNREFUSED); 
    236236 
    237  ROAR_DBG("roar_connect_raw(*) = %i", fh); 
     237 ROAR_DBG("roar_connect_raw2(*) = %i", fh); 
    238238 
    239239 return fh; 
Note: See TracChangeset for help on using the changeset viewer.