[svn-commits] tilghman: branch 1.4 r48382 - /branches/1.4/funcs/func_strings.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Sun Dec 10 22:37:09 MST 2006


Author: tilghman
Date: Sun Dec 10 23:37:09 2006
New Revision: 48382

URL: http://svn.digium.com/view/asterisk?view=rev&rev=48382
Log:
STRFTIME() does not actually require an argument (issue 8540)

Modified:
    branches/1.4/funcs/func_strings.c

Modified: branches/1.4/funcs/func_strings.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/funcs/func_strings.c?view=diff&rev=48382&r1=48381&r2=48382
==============================================================================
--- branches/1.4/funcs/func_strings.c (original)
+++ branches/1.4/funcs/func_strings.c Sun Dec 10 23:37:09 2006
@@ -421,12 +421,6 @@
 
 	buf[0] = '\0';
 
-	if (ast_strlen_zero(parse)) {
-		ast_log(LOG_ERROR,
-				"Asterisk function STRFTIME() requires an argument.\n");
-		return -1;
-	}
-
 	AST_STANDARD_APP_ARGS(args, parse);
 
 	ast_get_time_t(args.epoch, &epochi, time(NULL), NULL);



More information about the svn-commits mailing list