Changeset 1586
- Timestamp:
- 03/02/08 17:56:11 (6 months ago)
- Files:
-
- nebula/trunk/src/classify.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
nebula/trunk/src/classify.c
r1585 r1586 128 128 Q_ULOCK(&clusterq->lock); 129 129 Q_RLOCK(&clusterq->lock); 130 if (verbose) printf(" Cluster has now % u elements (threshold is %lu).\n",130 if (verbose) printf(" Cluster has now %lu elements (threshold is %lu).\n", 131 131 ((hash*)t->data)->cl->hq->size, ((hash*)t->data)->cl->threshold); 132 132 break; … … 168 168 hash_free(tmp_hash); 169 169 free(qtail); 170 } else if (verbose) printf(" Cluster has now % u elements (threshold is %lu).\n",170 } else if (verbose) printf(" Cluster has now %lu elements (threshold is %lu).\n", 171 171 ((hash*)t->data)->cl->hq->size, ((hash*)t->data)->cl->threshold); 172 172 } else { … … 236 236 // check for signature generation criterion here 237 237 if ((((hash*)t->data)->cl) && ((hash*)t->data)->cl->hq->size >= ((hash*)t->data)->cl->threshold) { 238 printf("[=] Cluster size (% u) hit threshold (%lu), generating signature.\n",238 printf("[=] Cluster size (%lu) hit threshold (%lu), generating signature.\n", 239 239 ((hash*)t->data)->cl->hq->size, ((hash*)t->data)->cl->threshold); 240 240
