Changeset cfb69248ea10093fd0ebc17c967191264548d31e
- Timestamp:
- 07/12/11 11:39:19
(2 years ago)
- Author:
- Theo Schlossnagle <jesus@omniti.com>
- git-committer:
- Theo Schlossnagle <jesus@omniti.com> 1310470759 -0400
- git-parent:
[383dd57d260183763f10a43dd64653113912b70a]
- git-author:
- Theo Schlossnagle <jesus@omniti.com> 1310470759 -0400
- Message:
fix from dispaltro. this allows callers to detect failures.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r383dd57 |
rcfb6924 |
|
| 367 | 367 | comp = use_compression ? NOIT_COMPRESS_ZLIB : NOIT_COMPRESS_NONE; |
|---|
| 368 | 368 | noit_check_log_bundle_compress_b64(comp, buf, size, &out_buf, &out_size); |
|---|
| 369 | | noit_log(ls, &(c->whence), __FILE__, __LINE__, |
|---|
| 370 | | "B%c\t%lu.%03lu\t%s\t%s\t%s\t%s\t%d\t%.*s\n", |
|---|
| 371 | | use_compression ? '1' : '2', |
|---|
| 372 | | SECPART(&(c->whence)), MSECPART(&(c->whence)), |
|---|
| 373 | | uuid_str, check->target, check->module, check->name, size, |
|---|
| 374 | | (unsigned int)out_size, out_buf); |
|---|
| | 369 | rv = noit_log(ls, &(c->whence), __FILE__, __LINE__, |
|---|
| | 370 | "B%c\t%lu.%03lu\t%s\t%s\t%s\t%s\t%d\t%.*s\n", |
|---|
| | 371 | use_compression ? '1' : '2', |
|---|
| | 372 | SECPART(&(c->whence)), MSECPART(&(c->whence)), |
|---|
| | 373 | uuid_str, check->target, check->module, check->name, size, |
|---|
| | 374 | (unsigned int)out_size, out_buf); |
|---|
| 375 | 375 | |
|---|
| 376 | 376 | free(buf); |
|---|