Changeset 5109:4f9fc788fe91 in roaraudio for libroar/basic.c
- Timestamp:
- 07/28/11 16:32:34 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/basic.c
r4945 r5109 157 157 ) { 158 158 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 ) 160 160 return fh; 161 161 162 162 /* in case we can not connect to the server given this may be a cache problem, 163 163 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"); 165 165 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 ) 167 167 return fh; 168 168 } … … 175 175 if ( list != NULL ) { 176 176 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 ) { 178 178 roar_enum_servers_free(list); 179 179 return fh; … … 218 218 strncat(user_sock, ROAR_DEFAULT_OBJECT, DN_MAXOBJL+2); 219 219 #else 220 ROAR_ERR("roar_connect_raw (*): size of DECnet object unknown.");220 ROAR_ERR("roar_connect_raw2(*): size of DECnet object unknown."); 221 221 #endif 222 222 } … … 235 235 roar_err_set(ROAR_ERROR_CONNREFUSED); 236 236 237 ROAR_DBG("roar_connect_raw (*) = %i", fh);237 ROAR_DBG("roar_connect_raw2(*) = %i", fh); 238 238 239 239 return fh;
Note: See TracChangeset
for help on using the changeset viewer.