summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Loftis <ben@glw.com>2008-03-26 20:34:24 +0000
committerBen Loftis <ben@glw.com>2008-03-26 20:34:24 +0000
commit74d1ce79da9dd3621b74452f94eb2dbdcb41b9a3 (patch)
tree0d7a27b1382e0b8a036b854913fe0ed30d979951
parenta9eb950317fa42f09ce4e45c73a4a96c960574c1 (diff)
fix typos
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3191 d708f5d6-7413-0410-9779-e7cbd77b26cf
-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;
}
}