[svn-commits] trunk - r7496 in /trunk: apps/Makefile apps/app_cut.c funcs/func_cut.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu Dec 15 13:05:43 CST 2005


Author: tilghman
Date: Thu Dec 15 13:05:41 2005
New Revision: 7496

URL: http://svn.digium.com/view/asterisk?rev=7496&view=rev
Log:
Properly move these functions over to the funcs directory (since they no longer contain apps)

Added:
    trunk/funcs/func_cut.c
      - copied, changed from r7493, trunk/apps/app_cut.c
Removed:
    trunk/apps/app_cut.c
Modified:
    trunk/apps/Makefile

Modified: trunk/apps/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/apps/Makefile?rev=7496&r1=7495&r2=7496&view=diff
==============================================================================
--- trunk/apps/Makefile (original)
+++ trunk/apps/Makefile Thu Dec 15 13:05:41 2005
@@ -24,8 +24,7 @@
      app_setcdruserfield.so app_settransfercapability.so app_softhangup.so     \
      app_stack.so app_system.so app_talkdetect.so app_test.so app_transfer.so  \
      app_userevent.so app_url.so app_verbose.so app_voicemail.so               \
-     app_waitforring.so app_waitforsilence.so app_while.so app_zapateller.so   \
-	 app_cut.so
+     app_waitforring.so app_waitforsilence.so app_while.so app_zapateller.so
      
 #
 # Obsolete things...

Copied: trunk/funcs/func_cut.c (from r7493, trunk/apps/app_cut.c)
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_cut.c?p2=trunk/funcs/func_cut.c&p1=trunk/apps/app_cut.c&r1=7493&r2=7496&rev=7496&view=diff
==============================================================================
--- trunk/apps/app_cut.c (original)
+++ trunk/funcs/func_cut.c Thu Dec 15 13:05:41 2005
@@ -16,9 +16,9 @@
  */
 
 /*! \file
- * \brief Cut application
- *
- * \ingroup applications
+ * \brief CUT function
+ *
+ * \ingroup functions
  */
 
 #include <stdio.h>
@@ -269,7 +269,7 @@
 		ast_log(LOG_ERROR, "Out of memory\n");
 		break;
 	case ERROR_USAGE:
-		ast_log(LOG_ERROR, "Usage: %s\n", cut_synopsis);
+		ast_log(LOG_ERROR, "Usage: CUT(<varname>,<char-delim>,<range-spec>)\n");
 		break;
 	case 0:
 		break;



More information about the svn-commits mailing list