ari: Fix #include to match generated headers for snakeCase resource files
authorDavid M. Lee <dlee@digium.com>
Thu, 21 Nov 2013 22:36:29 +0000 (22:36 +0000)
committerDavid M. Lee <dlee@digium.com>
Thu, 21 Nov 2013 22:36:29 +0000 (22:36 +0000)
........

Merged revisions 402993 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@402994 65c4cc65-6c06-0410-ace0-fbb531ad65f3

rest-api-templates/ari_resource.c.mustache
rest-api-templates/res_ari_resource.c.mustache

index 5015d34..e2b2342 100644 (file)
@@ -28,7 +28,7 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include "resource_{{name}}.h"
+#include "resource_{{c_name}}.h"
 
 {{#apis}}
 {{#operations}}
index 06b493c..580ba19 100644 (file)
@@ -49,7 +49,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 #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