Changeset 108 for pjproject/trunk
- Timestamp:
- Jan 7, 2006 6:41:22 PM (19 years ago)
- Location:
- pjproject/trunk/pjlib/src/pj
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/config.c
r75 r108 22 22 23 23 static const char *id = "config.c"; 24 const char *PJ_VERSION = "0. 3.0-pre4";24 const char *PJ_VERSION = "0.5"; 25 25 26 26 PJ_DEF(void) pj_dump_config(void) -
pjproject/trunk/pjlib/src/pj/hash.c
r66 r108 92 92 h->count = 0; 93 93 94 PJ_LOG( 5, ("hashtbl", "hash table %p created from pool %s", h, pj_pool_getobjname(pool)));94 PJ_LOG( 6, ("hashtbl", "hash table %p created from pool %s", h, pj_pool_getobjname(pool))); 95 95 96 96 /* size must be 2^n - 1. … … 148 148 /* create a new entry */ 149 149 entry = pj_pool_alloc(pool, sizeof(pj_hash_entry)); 150 PJ_LOG( 5, ("hashtbl", "%p: New p_entry %p created, pool used=%u, cap=%u", ht, entry,150 PJ_LOG(6, ("hashtbl", "%p: New p_entry %p created, pool used=%u, cap=%u", ht, entry, 151 151 pj_pool_get_used_size(pool), pj_pool_get_capacity(pool))); 152 152 entry->next = NULL; … … 180 180 if (value == NULL) { 181 181 /* delete entry */ 182 PJ_LOG( 5, ("hashtbl", "%p: p_entry %p deleted", ht, *p_entry));182 PJ_LOG(6, ("hashtbl", "%p: p_entry %p deleted", ht, *p_entry)); 183 183 *p_entry = (*p_entry)->next; 184 184 --ht->count; … … 187 187 /* overwrite */ 188 188 (*p_entry)->value = value; 189 PJ_LOG( 5, ("hashtbl", "%p: p_entry %p value set to %p", ht, *p_entry, value));189 PJ_LOG(6, ("hashtbl", "%p: p_entry %p value set to %p", ht, *p_entry, value)); 190 190 } 191 191 } -
pjproject/trunk/pjlib/src/pj/os_error_win32.c
r66 r108 154 154 } 155 155 } 156 157 } else { 158 /* Remove trailing newlines. */ 159 while (len && (buf[len-1] == '\n' || buf[len-1] == '\r')) { 160 buf[len-1] = '\0'; 161 --len; 162 } 156 163 } 157 164 -
pjproject/trunk/pjlib/src/pj/pool.c
r69 r108 29 29 #endif 30 30 31 #define LOG(expr) PJ_LOG( 5,expr)31 #define LOG(expr) PJ_LOG(6,expr) 32 32 33 33 int PJ_NO_MEMORY_EXCEPTION; -
pjproject/trunk/pjlib/src/pj/pool_caching.c
r78 r108 138 138 cp->capacity -= pj_pool_get_capacity(pool); 139 139 140 PJ_LOG( 5, (pool->obj_name, "pool reused, size=%u", pool->capacity));140 PJ_LOG(6, (pool->obj_name, "pool reused, size=%u", pool->capacity)); 141 141 } 142 142 … … 174 174 175 175 /* Reset pool. */ 176 PJ_LOG( 4, (pool->obj_name, "recycle(): cap=%d, used=%d(%d%%)",176 PJ_LOG(6, (pool->obj_name, "recycle(): cap=%d, used=%d(%d%%)", 177 177 pool->capacity, pj_pool_get_used_size(pool), 178 178 pj_pool_get_used_size(pool)*100/pool->capacity));
Note: See TracChangeset
for help on using the changeset viewer.