diff options
| author | Adam Ierymenko <adam.ierymenko@zerotier.com> | 2017-04-20 10:21:40 -0700 | 
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@zerotier.com> | 2017-04-20 10:21:40 -0700 | 
| commit | ba0d73d102e09b6d60f1d677b1e5472a25c08d42 (patch) | |
| tree | af99fe3655fdc25864bc98556b73797e050ac7f4 /service/OneService.cpp | |
| parent | d3ecd1d670a77a260a2f9a62175e30e8611f58a7 (diff) | |
| download | infinitytier-ba0d73d102e09b6d60f1d677b1e5472a25c08d42.tar.gz infinitytier-ba0d73d102e09b6d60f1d677b1e5472a25c08d42.zip  | |
Windows build fixes.
Diffstat (limited to 'service/OneService.cpp')
| -rw-r--r-- | service/OneService.cpp | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/service/OneService.cpp b/service/OneService.cpp index 5f2adfe3..a9185eea 100644 --- a/service/OneService.cpp +++ b/service/OneService.cpp @@ -1530,7 +1530,8 @@ public:  		json &controllerDbHttpPath = settings["controllerDbHttpPath"];  		if ((controllerDbHttpHost.is_string())&&(controllerDbHttpPort.is_number())) {  			_controllerDbPath = "http://"; -			_controllerDbPath.append(controllerDbHttpHost); +			std::string h = controllerDbHttpHost; +			_controllerDbPath.append(h);  			char dbp[128];  			Utils::snprintf(dbp,sizeof(dbp),"%d",(int)controllerDbHttpPort);  			_controllerDbPath.push_back(':');  | 
