From 046a24e0caaa77679f844a43e51db11d0e3e3087 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Wed, 16 May 2018 21:51:20 +0200 Subject: [PATCH] Fix typo --- src/algorithms/libs/rtklib/rtklib_stream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algorithms/libs/rtklib/rtklib_stream.cc b/src/algorithms/libs/rtklib/rtklib_stream.cc index 6d307a1d1..4e6f0a0a1 100644 --- a/src/algorithms/libs/rtklib/rtklib_stream.cc +++ b/src/algorithms/libs/rtklib/rtklib_stream.cc @@ -1603,7 +1603,7 @@ void *ftpthread(void *arg) " --glob=off --passive-ftp " + std::string(proxyopt) + "s-t 1 -T " + std::to_string(FTP_TIMEOUT) + " -O \"" + std::string(local) + "\""; int k = s_aux.length(); - if (k < 1024]) + if (k < 1024) for (int i = 0; i < k; i++) opt[i] = s_aux[i]; // sprintf(cmd, "%s%s %s \"ftp://%s/%s\" 2> \"%s\"\n", env, FTP_CMD, opt, ftp->addr,