Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong include in provision sample #1485

Closed
malcolmdimeglio opened this issue Mar 31, 2020 · 2 comments
Closed

wrong include in provision sample #1485

malcolmdimeglio opened this issue Mar 31, 2020 · 2 comments

Comments

@malcolmdimeglio
Copy link

OS and version used: Windows 10 Enterprise LTSC
SDK version used: LTS_02_2020_Ref01
Description of the issue:

It seems that prov_dev_client_sample.c (in provisioning_client/samples/prov_dev_client_sample/) is including the wrong header file when the protocol used is HTTP.

#ifdef SAMPLE_HTTP
#include "iothubtransportmqtt.h"
#include "azure_prov_client/prov_transport_http_client.h"
#endif // SAMPLE_HTTP

it should include "iothubtransporthttp.h" instead of "iothubtransportmqtt.h"

@ericwolz
Copy link
Contributor

ericwolz commented Apr 3, 2020

thanks will fix this

@az-iot-builder-01
Copy link
Collaborator

@malcolmdimeglio, thank you for your contribution to our open-sourced project! Please help us improve by filling out this 2-minute customer satisfaction survey

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants