aboutsummaryrefslogtreecommitdiff
path: root/src/apps
diff options
context:
space:
mode:
Diffstat (limited to 'src/apps')
-rw-r--r--src/apps/projinfo.cpp2
-rw-r--r--src/apps/projsync.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/apps/projinfo.cpp b/src/apps/projinfo.cpp
index 85db14e2..ed732aaa 100644
--- a/src/apps/projinfo.cpp
+++ b/src/apps/projinfo.cpp
@@ -1074,7 +1074,7 @@ int main(int argc, char **argv) {
#ifdef CURL_ENABLED
if (proj_context_is_network_enabled(nullptr)) {
std::cout << "Status: enabled" << std::endl;
- std::cout << "URL: " << pj_context_get_url_endpoint(nullptr)
+ std::cout << "URL: " << proj_context_get_url_endpoint(nullptr)
<< std::endl;
} else {
std::cout << "Status: disabled" << std::endl;
diff --git a/src/apps/projsync.cpp b/src/apps/projsync.cpp
index 61681260..f78e3a17 100644
--- a/src/apps/projsync.cpp
+++ b/src/apps/projsync.cpp
@@ -111,7 +111,7 @@ int main(int argc, char *argv[]) {
auto ctx = pj_get_default_ctx();
std::string targetDir;
- std::string endpoint(pj_context_get_url_endpoint(ctx));
+ std::string endpoint(proj_context_get_url_endpoint(ctx));
const std::string geojsonFile("files.geojson");
std::string queriedSourceId;
std::string queriedAreaOfUse;
@@ -224,7 +224,7 @@ int main(int argc, char *argv[]) {
}
if (targetDir.empty()) {
- targetDir = pj_context_get_user_writable_directory(ctx, true);
+ targetDir = proj_context_get_user_writable_directory(ctx, true);
} else {
if (targetDir.back() == '/') {
targetDir.resize(targetDir.size() - 1);