nameservice: fix wrong size argument
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 23 Oct 2012 10:07:15 +0000 (12:07 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 23 Oct 2012 11:45:14 +0000 (13:45 +0200)
commit27c8f9da35c24bdd2f924e8686fcbaa9e1c058b1
treebceb8c33fc2b0a863f46159cb39b5a574e16689f
parente40eb87261dcaff781e1f620ad1df6d92eebda19
nameservice: fix wrong size argument

Coverity:
CID 739689 (#1 of 1): Wrong sizeof argument (SIZEOF_MISMATCH)
  Passing argument "ip" of type "union olsr_ip_addr *" and argument
  "8UL /* sizeof (ip) */" to function "memset(void *, int, size_t)" is
  suspicious. Did you intend to use "sizeof(*ip)" instead of "sizeof (ip)"?

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/nameservice/src/nameservice.c