From: David M. Lee Date: Thu, 21 Nov 2013 22:35:44 +0000 (+0000) Subject: ari: Fix #include to match generated headers for snakeCase resource files X-Git-Tag: 12.0.0-beta2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d515b50a6619faa32616c67a6e94c297cd25140;p=thirdparty%2Fasterisk.git ari: Fix #include to match generated headers for snakeCase resource files git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@402993 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/rest-api-templates/ari_resource.c.mustache b/rest-api-templates/ari_resource.c.mustache index 5015d347e7..e2b234240f 100644 --- a/rest-api-templates/ari_resource.c.mustache +++ b/rest-api-templates/ari_resource.c.mustache @@ -28,7 +28,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") -#include "resource_{{name}}.h" +#include "resource_{{c_name}}.h" {{#apis}} {{#operations}} diff --git a/rest-api-templates/res_ari_resource.c.mustache b/rest-api-templates/res_ari_resource.c.mustache index 06b493cc49..580ba1944e 100644 --- a/rest-api-templates/res_ari_resource.c.mustache +++ b/rest-api-templates/res_ari_resource.c.mustache @@ -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