[svn-commits] qwell: branch 1.6.1 r152133 - in /branches/1.6.1: ./ apps/app_transfer.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Oct 27 11:06:02 CDT 2008


Author: qwell
Date: Mon Oct 27 11:06:01 2008
New Revision: 152133

URL: http://svn.digium.com/view/asterisk?view=rev&rev=152133
Log:
Merged revisions 152132 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r152132 | qwell | 2008-10-27 11:03:12 -0500 (Mon, 27 Oct 2008) | 7 lines
  
  Remove options argument parsing/syntax (it isn't used any longer)
  
  (closes issue #13789)
  Reported by: IgorG
  Patches:
        app_transfer.c.diff uploaded by IgorG (license 20)
........

Modified:
    branches/1.6.1/   (props changed)
    branches/1.6.1/apps/app_transfer.c

Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.1/apps/app_transfer.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.1/apps/app_transfer.c?view=diff&rev=152133&r1=152132&r2=152133
==============================================================================
--- branches/1.6.1/apps/app_transfer.c (original)
+++ branches/1.6.1/apps/app_transfer.c Mon Oct 27 11:06:01 2008
@@ -42,7 +42,7 @@
 static const char *synopsis = "Transfer caller to remote extension";
 
 static const char *descrip = 
-"  Transfer([Tech/]dest[,options]):  Requests the remote caller be transferred\n"
+"  Transfer([Tech/]dest):  Requests the remote caller be transferred\n"
 "to a given destination. If TECH (SIP, IAX2, LOCAL etc) is used, only\n"
 "an incoming call with the same channel technology will be transfered.\n"
 "Note that for SIP, if you transfer before call is setup, a 302 redirect\n"
@@ -64,20 +64,16 @@
 	char *parse;
 	AST_DECLARE_APP_ARGS(args,
 		AST_APP_ARG(dest);
-		AST_APP_ARG(options);
 	);
 
 	if (ast_strlen_zero((char *)data)) {
-		ast_log(LOG_WARNING, "Transfer requires an argument ([Tech/]destination[,options])\n");
+		ast_log(LOG_WARNING, "Transfer requires an argument ([Tech/]destination)\n");
 		pbx_builtin_setvar_helper(chan, "TRANSFERSTATUS", "FAILURE");
 		return 0;
 	} else
 		parse = ast_strdupa(data);
 
 	AST_STANDARD_APP_ARGS(args, parse);
-
-	if (args.options) {
-	}
 
 	dest = args.dest;
 




More information about the svn-commits mailing list