Changeset 2868
- Timestamp:
- Aug 12, 2009 5:50:52 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/log.c
r2853 r2868 179 179 static void suspend_logging(int *saved_level) 180 180 { 181 /* Save the level regardless, just in case PJLIB is shutdown 182 * between suspend and resume. 183 */ 184 *saved_level = pj_log_max_level; 185 181 186 #if PJ_HAS_THREADS 182 187 if (thread_suspended_tls_id != -1) … … 189 194 pj_log_max_level = 0; 190 195 } 191 /* Save the level regardless, just in case PJLIB is shutdown192 * between suspend and resume.193 */194 *saved_level = pj_log_max_level;195 196 } 196 197 … … 225 226 #endif 226 227 { 227 return pj_log_max_level != 0;228 return pj_log_max_level == 0; 228 229 } 229 230 }
Note: See TracChangeset
for help on using the changeset viewer.