[asterisk-commits] russell: branch 1.4 r90147 - /branches/1.4/funcs/func_callerid.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Nov 28 18:37:00 CST 2007


Author: russell
Date: Wed Nov 28 18:36:59 2007
New Revision: 90147

URL: http://svn.digium.com/view/asterisk?view=rev&rev=90147
Log:
fix some formatting i accidentally changed

Modified:
    branches/1.4/funcs/func_callerid.c

Modified: branches/1.4/funcs/func_callerid.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/funcs/func_callerid.c?view=diff&rev=90147&r1=90146&r2=90147
==============================================================================
--- branches/1.4/funcs/func_callerid.c (original)
+++ branches/1.4/funcs/func_callerid.c Wed Nov 28 18:36:59 2007
@@ -111,8 +111,8 @@
 		char name[256];
 		char num[256];
 
-	if (!ast_callerid_split(value, name, sizeof(name), num, sizeof(num)))
-		ast_set_callerid(chan, num, name, num);
+		if (!ast_callerid_split(value, name, sizeof(name), num, sizeof(num)))
+			ast_set_callerid(chan, num, name, num);
 	} else if (!strncasecmp("name", data, 4)) {
 		ast_set_callerid(chan, NULL, value, NULL);
 	} else if (!strncasecmp("num", data, 3) ||




More information about the asterisk-commits mailing list