}
/*}}}*/
+char
+max (char a, char b)
+{
+ return a > b ? a : b;
+}
+
/**
* Create a new Address from an answer-packet
*/
memset(&key, 0, sizeof(GNUNET_HashCode));
unsigned char* c = ((unsigned char*)pkt)+ntohs(pkt->addroffset);
- new_ip6addr_remote(c, &pkt->addr, pkt->addrsize);
+ new_ip6addr_remote(c, pkt->addr, pkt->addrsize);
unsigned char* k = (unsigned char*)&key;
/*
* Copy the newly generated ip-address to the key backwards (as only the first part is used in the hash-table)