summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/hash.c2
-rw-r--r--lib/sockopt.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/hash.c b/lib/hash.c
index f705e5dd..672327ec 100644
--- a/lib/hash.c
+++ b/lib/hash.c
@@ -32,7 +32,7 @@ hash_create_size (unsigned int size, unsigned int (*hash_key) (void *),
struct hash *hash;
hash = XMALLOC (MTYPE_HASH, sizeof (struct hash));
- hash->index = XCALLOC (MTYPE_HASH_INDEX,
+ hash->index = XCALLOC (MTYPE_HASH_INDEX,
sizeof (struct hash_backet *) * size);
hash->size = size;
hash->hash_key = hash_key;
diff --git a/lib/sockopt.c b/lib/sockopt.c
index 3a25ae1a..4ba7e874 100644
--- a/lib/sockopt.c
+++ b/lib/sockopt.c
@@ -561,4 +561,3 @@ sockopt_tcp_signature (int sock, union sockunion *su, const char *password)
return -2;
#endif /* HAVE_TCP_MD5SIG */
}
-