[sword-svn] r3892 - trunk/src/mgr

scribe at crosswire.org scribe at crosswire.org
Mon Nov 6 11:51:41 EST 2023


Author: scribe
Date: 2023-11-06 11:51:41 -0500 (Mon, 06 Nov 2023)
New Revision: 3892

Modified:
   trunk/src/mgr/curlhttpt.cpp
Log:
fix logging in http transport to say "http" instead of "ftp"


Modified: trunk/src/mgr/curlhttpt.cpp
===================================================================
--- trunk/src/mgr/curlhttpt.cpp	2023-09-16 12:09:16 UTC (rev 3891)
+++ trunk/src/mgr/curlhttpt.cpp	2023-11-06 16:51:41 UTC (rev 3892)
@@ -69,7 +69,7 @@
 	static int my_httpfprogress(void *clientp, double dltotal, double dlnow, double ultotal, double ulnow) {
 		if (clientp) {
 			MyProgressData *pd = (MyProgressData *)clientp;
-SWLOGD("CURLFTPTransport report progress: totalSize: %ld; xfered: %ld\n", (long)dltotal, (long)dlnow);
+SWLOGD("CURLHTTPTransport report progress: totalSize: %ld; xfered: %ld\n", (long)dltotal, (long)dlnow);
 			if (pd->sr) {
 				if (dltotal < 0) dltotal = 0;
 				if (dlnow < 0) dlnow = 0;
@@ -249,7 +249,7 @@
 			possibleNameLength = (int)(pBufRes - pBuf);
 			possibleName.setFormatted("%.*s", possibleNameLength, pBuf);
 			if (isalnum(possibleName[0])) {
-SWLOGD("getDirListHTTP: Found a file: %s", possibleName.c_str());
+SWLOGD("CURLHTTPTransport::getDirList: Found a file: %s", possibleName.c_str());
 				pBuf = pBufRes;
 				pBufRes = (char *)findSizeStart(pBuf);
 				fSize = 0;
@@ -276,7 +276,7 @@
 	}
 	else
 	{
-		SWLog::getSystemLog()->logWarning("FTPURLGetDir: failed to get dir %s\n", dirURL);
+		SWLog::getSystemLog()->logWarning("CURLHTTPTransport::getDirList: failed to get dir %s\n", dirURL);
 	}
 	return dirList;
 }



More information about the sword-cvs mailing list