Update of /usr/cvsroot/asterisk/res
In directory localhost.localdomain:/tmp/cvs-serv16526/res

Modified Files:
        res_features.c 
Log Message:
make CLI output use singular/plural when appropriate (bug #4654)


Index: res_features.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_features.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- res_features.c      23 Jun 2005 22:12:01 -0000      1.58
+++ res_features.c      7 Jul 2005 22:32:20 -0000       1.59
@@ -1680,7 +1680,7 @@
                cur = cur->next;
                numparked++;
        }
-       ast_cli(fd, "%d parked call(s).\n",numparked);
+       ast_cli(fd, "%d parked call%s.\n", numparked, (numparked != 1) ? "s" : 
"");
 
        ast_mutex_unlock(&parking_lock);
 

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to