The type on several OSes ranges from int, int32, uint32, size_t.
Detects unsigned or signed using math trick.
- constants for DNS flags.
+ - compilation without locks fixup.
2 April 2007: Wouter
- check sizes of udp received messages, not too short.
lock_quick_unlock(&table->lock);
if(entry) {
- if(wr)
- lock_rw_wrlock(&entry->lock);
- else lock_rw_rdlock(&entry->lock);
+ if(wr) { lock_rw_wrlock(&entry->lock); }
+ else { lock_rw_rdlock(&entry->lock); }
}
lock_quick_unlock(&bin->lock);
return entry;