Changeset 1377
- Timestamp:
- 09/11/07 11:32:44 (1 year ago)
- Files:
-
- nebula/trunk/src/cluster.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
nebula/trunk/src/cluster.c
r1373 r1377 27 27 28 28 u_int16_t add_entry_to_cluster(cluster *cl, hash_list *entry) { 29 if ((cl->entries = (hash_list **) realloc(cl->entries, (cl->cnt+1) * 4)) == NULL) {29 if ((cl->entries = (hash_list **) realloc(cl->entries, (cl->cnt+1) * sizeof(hash_list *))) == NULL) { 30 30 fprintf(stderr, "Error - Unable to allocate memory: %m.\n"); 31 31 exit(EXIT_FAILURE);
