mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-23 07:06:23 +01:00
fix typos
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3191 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
a9eb950317
commit
74d1ce79da
1 changed files with 5 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue