From 0594ac9ba0f38944ef810b5ac48a2067b1ce5a09 Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Tue, 11 Jan 2022 08:00:10 +0000 Subject: [PATCH] Copied libcurl's ftp example --- secrets.hpp | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/secrets.hpp b/secrets.hpp index b0622e5..398da5c 100644 --- a/secrets.hpp +++ b/secrets.hpp @@ -1,11 +1,15 @@ #pragma once -#define HOST "sytev070" +#include <string> + +// #define TEST + +constexpr const char* HOST = "sytev070"; #ifdef TEST -#define PORT "9005" +constexpr const char* PORT = "9005"; #else -#define PORT "9000" +constexpr const char* PORT = "9000"; #endif -#define USER "jgrunbau" -#define PASS "b7d630945a0854581d9f86ba147f34a5" +constexpr const char* USER = "jgrunbau"; +constexpr const char* PASS = "b7d630945a0854581d9f86ba147f34a5"; -- Gitblit v1.9.3