Mercurial > dovecot > original-hg > dovecot-1.2
comparison src/auth/db-ldap.c @ 6475:ee420f238104 HEAD
Renamed hash_size() -> hash_count().
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 22 Sep 2007 19:03:33 +0300 |
parents | 65c69a53a7be |
children | 66e6311e22b3 |
comparison
equal
deleted
inserted
replaced
6474:46c3e1ee196f | 6475:ee420f238104 |
---|---|
287 void *key, *value; | 287 void *key, *value; |
288 bool have_hash_binds = FALSE; | 288 bool have_hash_binds = FALSE; |
289 | 289 |
290 i_assert(conn->connected); | 290 i_assert(conn->connected); |
291 | 291 |
292 if (hash_size(conn->requests) == 0 && | 292 if (hash_count(conn->requests) == 0 && |
293 conn->delayed_requests_head == NULL) | 293 conn->delayed_requests_head == NULL) |
294 return; | 294 return; |
295 | 295 |
296 old_requests = conn->requests; | 296 old_requests = conn->requests; |
297 conn->requests = hash_create(default_pool, conn->pool, 0, NULL, NULL); | 297 conn->requests = hash_create(default_pool, conn->pool, 0, NULL, NULL); |