Mercurial > hg > freeDiameter
comparison extensions/dbg_msg_dumps/dbg_msg_dumps.c @ 1244:24a03140a6aa
Bug: parameters for peers were not taken into account
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Mon, 11 Nov 2013 15:14:08 +0800 |
parents | a4cdde705f30 |
children | 4b511d9b3def |
comparison
equal
deleted
inserted
replaced
1243:7c5f662c4eef | 1244:24a03140a6aa |
---|---|
284 uint32_t mask_quiet, mask_compact, mask_full, mask_tree; | 284 uint32_t mask_quiet, mask_compact, mask_full, mask_tree; |
285 TRACE_ENTRY("%p", conffile); | 285 TRACE_ENTRY("%p", conffile); |
286 | 286 |
287 if (conffile != NULL) { | 287 if (conffile != NULL) { |
288 char * endp; | 288 char * endp; |
289 dump_level = (uint8_t)strtoul(conffile, &endp, 16); | 289 dump_level = (uint32_t)strtoul(conffile, &endp, 16); |
290 CHECK_PARAMS_DO( *endp == '\0', { | 290 CHECK_PARAMS_DO( *endp == '\0', { |
291 LOG_E("Configuration parameter must be in the form \"0xNNNN\""); | 291 LOG_E("Configuration parameter must be in the form \"0xNNNN\""); |
292 return EINVAL; }); | 292 return EINVAL; }); |
293 } | 293 } |
294 | 294 |