[svn-commits] russell: branch russell/indications r176137 - /team/russell/indications/main/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Feb 16 11:30:58 CST 2009


Author: russell
Date: Mon Feb 16 11:30:58 2009
New Revision: 176137

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=176137
Log:
formatting and grammatical fixes from kpfleming's review

Modified:
    team/russell/indications/main/indications.c

Modified: team/russell/indications/main/indications.c
URL: http://svn.digium.com/svn-view/asterisk/team/russell/indications/main/indications.c?view=diff&rev=176137&r1=176136&r2=176137
==============================================================================
--- team/russell/indications/main/indications.c (original)
+++ team/russell/indications/main/indications.c Mon Feb 16 11:30:58 2009
@@ -324,7 +324,7 @@
 
 	while ((s = strsep(&stringp, separator)) && !ast_strlen_zero(s)) {
 		struct ast_tone_zone_part tone_data = {
-			.time = 0,	
+			.time = 0,
 		};
 
 		s = ast_strip(s);
@@ -575,7 +575,7 @@
 			break;
 		}
 	}
-	AST_LIST_TRAVERSE_SAFE_END
+	AST_LIST_TRAVERSE_SAFE_END;
 
 	if (!(ts = ao2_alloc(sizeof(*ts), ast_tone_zone_sound_destructor))) {
 		return -1;
@@ -733,8 +733,8 @@
 		e->command = "indication show";
 		e->usage =
 			"Usage: indication show [<country> ...]\n"
-			"       Display either a condensed for of all country/indications, or the\n"
-			"       indications for the specified countries.\n";
+			"       Display either a condensed summary of all countries and indications, or a\n"
+			"       more verbose list of indications for the specified countries.\n";
 		return NULL;
 	case CLI_GENERATE:
 		return NULL;
@@ -897,11 +897,11 @@
 	}
 	ast_tone_zone_unlock(zone);
 
-	if (allocd) { 
+	if (allocd) {
 		if (!is_valid_tone_zone(zone)) {
 			ast_log(LOG_WARNING, "Indication country '%s' is invalid\n", country);
 		} else if (ast_register_indication_country(zone)) {
-			ast_log(LOG_WARNING, "Unable to register indication country '%s'.\n", 
+			ast_log(LOG_WARNING, "Unable to register indication country '%s'.\n",
 					country);
 		}
 	}
@@ -950,7 +950,7 @@
 			s = ast_tone_zone_sound_unref(s);
 		}
 	}
-	AST_LIST_TRAVERSE_SAFE_END
+	AST_LIST_TRAVERSE_SAFE_END;
 
 	ast_tone_zone_unlock(zone);
 
@@ -991,7 +991,7 @@
 		}
 	}
 
-	ao2_callback(ast_tone_zones, OBJ_NODATA | OBJ_MULTIPLE | OBJ_UNLINK, 
+	ao2_callback(ast_tone_zones, OBJ_NODATA | OBJ_MULTIPLE | OBJ_UNLINK,
 			prune_tone_zone, NULL);
 
 	/* determine which country is the default */




More information about the svn-commits mailing list