Revision 8088babe som/net_helper-ml.c
som/net_helper-ml.c | ||
---|---|---|
613 | 613 |
|
614 | 614 |
struct nodeID *nodeid_undump(const uint8_t *b, int *len) |
615 | 615 |
{ |
616 |
socketID_handle h = malloc(SOCKETID_SIZE);
|
|
617 |
memset(h,0,SOCKETID_SIZE);
|
|
616 |
uint8_t sid[SOCKETID_SIZE];
|
|
617 |
socketID_handle h = (socketID_handle) sid;
|
|
618 | 618 |
mlStringToSocketID((char *)b,h); |
619 | 619 |
*len = strlen((char*)b) + 1; |
620 | 620 |
return id_lookup(h,-1); |
Also available in: Unified diff