[svn-commits] dlee: branch 12 r402993 - /branches/12/rest-api-templates/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Nov 21 16:35:45 CST 2013


Author: dlee
Date: Thu Nov 21 16:35:44 2013
New Revision: 402993

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=402993
Log:
ari: Fix #include to match generated headers for snakeCase resource files

Modified:
    branches/12/rest-api-templates/ari_resource.c.mustache
    branches/12/rest-api-templates/res_ari_resource.c.mustache

Modified: branches/12/rest-api-templates/ari_resource.c.mustache
URL: http://svnview.digium.com/svn/asterisk/branches/12/rest-api-templates/ari_resource.c.mustache?view=diff&rev=402993&r1=402992&r2=402993
==============================================================================
--- branches/12/rest-api-templates/ari_resource.c.mustache (original)
+++ branches/12/rest-api-templates/ari_resource.c.mustache Thu Nov 21 16:35:44 2013
@@ -28,7 +28,7 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include "resource_{{name}}.h"
+#include "resource_{{c_name}}.h"
 
 {{#apis}}
 {{#operations}}

Modified: branches/12/rest-api-templates/res_ari_resource.c.mustache
URL: http://svnview.digium.com/svn/asterisk/branches/12/rest-api-templates/res_ari_resource.c.mustache?view=diff&rev=402993&r1=402992&r2=402993
==============================================================================
--- branches/12/rest-api-templates/res_ari_resource.c.mustache (original)
+++ branches/12/rest-api-templates/res_ari_resource.c.mustache Thu Nov 21 16:35:44 2013
@@ -49,7 +49,7 @@
 #include "asterisk/app.h"
 #include "asterisk/module.h"
 #include "asterisk/stasis_app.h"
-#include "ari/resource_{{name}}.h"
+#include "ari/resource_{{c_name}}.h"
 #if defined(AST_DEVMODE)
 #include "ari/ari_model_validators.h"
 #endif




More information about the svn-commits mailing list