[asterisk-commits] russell: trunk r271833 - /trunk/res/res_fax.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jun 22 11:17:17 CDT 2010


Author: russell
Date: Tue Jun 22 11:17:14 2010
New Revision: 271833

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=271833
Log:
Change the method of retrieving the Asterisk version string.

Using this method makes it so res_fax doesn't have to be rebuilt on every
svn update.

Modified:
    trunk/res/res_fax.c

Modified: trunk/res/res_fax.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_fax.c?view=diff&rev=271833&r1=271832&r2=271833
==============================================================================
--- trunk/res/res_fax.c (original)
+++ trunk/res/res_fax.c Tue Jun 22 11:17:14 2010
@@ -57,8 +57,7 @@
 #include "asterisk/manager.h"
 #include "asterisk/dsp.h"
 #include "asterisk/indications.h"
-
-#include "asterisk/version.h"
+#include "asterisk/ast_version.h"
 
 static const char app_receivefax[] = "ReceiveFAX";
 static const char synopsis_receivefax[] = "Receive a FAX and save as a TIFF/F file.";
@@ -1770,7 +1769,7 @@
 	}
 
 	ast_cli(a->fd, "FAX For Asterisk Components:\n");
-	ast_cli(a->fd, "\tApplications: " ASTERISK_VERSION "\n");
+	ast_cli(a->fd, "\tApplications: %s\n", ast_get_version());
 	AST_RWLIST_RDLOCK(&faxmodules);
 	AST_RWLIST_TRAVERSE(&faxmodules, fax, list) {
 		ast_cli(a->fd, "\t%s: %s\n", fax->tech->description, fax->tech->version);




More information about the asterisk-commits mailing list