summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk2_ardour/sfdb_freesound_mootcher.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk2_ardour/sfdb_freesound_mootcher.cc b/gtk2_ardour/sfdb_freesound_mootcher.cc
index 0b6d2742e7..f7af1c1905 100644
--- a/gtk2_ardour/sfdb_freesound_mootcher.cc
+++ b/gtk2_ardour/sfdb_freesound_mootcher.cc
@@ -78,9 +78,9 @@ const char* Mootcher::changeWorkingDir(const char *saveLocation)
// create Freesound directory and sound dir
std::string sndLocation = basePath;
- mkdir(sndLocation.c_str(), 0x777);
+ mkdir(sndLocation.c_str(), 0777);
sndLocation += "snd";
- mkdir(sndLocation.c_str(), 0x777);
+ mkdir(sndLocation.c_str(), 0777);
return basePath.c_str();
}
@@ -108,7 +108,7 @@ size_t Mootcher::WriteMemoryCallback(void *ptr, size_t size, size_t nmemb, void
//------------------------------------------------------------------------
void Mootcher::toLog(std::string input)
{
-printf("%s/n", input.c_str());// for debugging
+//printf("%s\n", input.c_str());// for debugging
}
@@ -180,9 +180,9 @@ int Mootcher::doLogin(std::string login, std::string password)
std::string check_page = xml_page.memory;
int test = (int)check_page.find("login"); //logged
if( strcmp(xml_page.memory, "login") == 0 )
- toLog("Logged in./n");
+ toLog("Logged in.\n");
else {
- toLog("Login failed: Check username and password./n");
+ toLog("Login failed: Check username and password.\n");
connection = 0;
}
}