mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-03-04 18:48:17 +00:00
one of these days, I'll learn to format before commit
This commit is contained in:
parent
9c773a9dda
commit
01fccabf82
@ -3102,7 +3102,7 @@ void readpos(const char *file, const char *rcv, double *pos)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
auto sta = stas[np++]; // NOLINT(readability-qualified-auto)
|
||||
auto sta = stas[np++]; // NOLINT(readability-qualified-auto)
|
||||
std::strncpy(sta, str, 16);
|
||||
sta[15] = '\0';
|
||||
}
|
||||
|
@ -1956,7 +1956,7 @@ void *ftpthread(void *arg)
|
||||
|
||||
/* if local file exist, skip download */
|
||||
auto tmpfile = local;
|
||||
for (auto ext : {".z", ".gz", ".zip", ".Z", ".GZ", ".ZIP"}) // NOLINT(readability-qualified-auto): auto decoration is less readable
|
||||
for (auto ext : {".z", ".gz", ".zip", ".Z", ".GZ", ".ZIP"}) // NOLINT(readability-qualified-auto): auto decoration is less readable
|
||||
{
|
||||
if (tmpfile.extension() == ext)
|
||||
{
|
||||
@ -1980,7 +1980,7 @@ void *ftpthread(void *arg)
|
||||
if (*proxyaddr)
|
||||
{
|
||||
auto proto = "ftp"s;
|
||||
if (ftp->proto) proto = "http"s; // NOLINT(readability-braces-around-statements): adding braces reduces readability
|
||||
if (ftp->proto) proto = "http"s; // NOLINT(readability-braces-around-statements): adding braces reduces readability
|
||||
env = "set "s + proto + "_proxy=http://"s + std::string(proxyaddr) + " % ";
|
||||
proxyopt = "--proxy=on ";
|
||||
}
|
||||
@ -2024,7 +2024,7 @@ void *ftpthread(void *arg)
|
||||
}
|
||||
|
||||
/* uncompress downloaded file */
|
||||
for (auto ext : {".z", ".gz", ".zip", ".Z", ".GZ", ".ZIP"}) // NOLINT(readability-qualified-auto): auto decoration is less readable
|
||||
for (auto ext : {".z", ".gz", ".zip", ".Z", ".GZ", ".ZIP"}) // NOLINT(readability-qualified-auto): auto decoration is less readable
|
||||
{
|
||||
if (local.extension() == ext)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user