Changeset 4485:dc90a2ccd84f in roaraudio


Ignore:
Timestamp:
10/12/10 00:51:15 (8 years ago)
Author:
phi
Branch:
default
Message:

small bug: set data member of key to non-NULL if server address is NULL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/authfile.c

    r4484 r4485  
    152152 } 
    153153 
    154  ret->data = (void*)ret->address + addrlen; 
     154 ret->data = ret + sizeof(struct roar_authfile_key) + addrlen; 
    155155 
    156156 ret->len  = len; 
Note: See TracChangeset for help on using the changeset viewer.