Changeset 5683:4101c33111f7 in roaraudio
- Timestamp:
- 09/26/12 10:10:35 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/uuid.c
r5667 r5683 86 86 87 87 const roar_uuid_t * roar_uuid_get_ns_real(const char * ns) { 88 static const roar_uuid_t * __null = NULL,88 static const roar_uuid_t 89 89 dns = {0x6b, 0xa7, 0xb8, 0x10, 0x9d, 0xad, 0x11, 0xd1, 0x80, 0xb4, 0x00, 0xc0, 0x4f, 0xd4, 0x30, 0xc8}, 90 90 url = {0x6b, 0xa7, 0xb8, 0x11, 0x9d, 0xad, 0x11, 0xd1, 0x80, 0xb4, 0x00, 0xc0, 0x4f, 0xd4, 0x30, 0xc8}, 91 91 oid = {0x6b, 0xa7, 0xb8, 0x12, 0x9d, 0xad, 0x11, 0xd1, 0x80, 0xb4, 0x00, 0xc0, 0x4f, 0xd4, 0x30, 0xc8}, 92 92 x500 = {0x6b, 0xa7, 0xb8, 0x14, 0x9d, 0xad, 0x11, 0xd1, 0x80, 0xb4, 0x00, 0xc0, 0x4f, 0xd4, 0x30, 0xc8}; 93 static const void * null_ptr = NULL; 93 94 94 95 if ( ns == NULL ) { 95 96 roar_err_set(ROAR_ERROR_FAULT); 96 return __null;97 return (const roar_uuid_t *)&null_ptr; 97 98 } 98 99 … … 108 109 109 110 roar_err_set(ROAR_ERROR_NOENT); 110 return __null;111 return (const roar_uuid_t *)&null_ptr; 111 112 } 112 113
Note: See TracChangeset
for help on using the changeset viewer.