mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Janitor work converting !ast_strlen_zero(a)?a:b
to S_OR functions. from bug note 6805 with minor modifications. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -126,7 +126,7 @@ static int ast_serialize_showchan(struct ast_channel *c, char *buf, size_t size) | ||||
| 			 ast_print_group(cgrp, sizeof(cgrp), c->callgroup), | ||||
| 			 ast_print_group(pgrp, sizeof(pgrp), c->pickupgroup), | ||||
| 			 ( c->appl ? c->appl : "(N/A)" ), | ||||
| 			 ( c-> data ? (!ast_strlen_zero(c->data) ? c->data : "(Empty)") : "(None)"), | ||||
| 			 ( c-> data ? S_OR(c->data, "(Empty)") : "(None)"), | ||||
| 			 (ast_test_flag(c, AST_FLAG_BLOCKING) ? c->blockproc : "(Not Blocking)")); | ||||
|  | ||||
| 	return 0; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user