mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 07:35:55 +01:00
2018-07-12 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up SQL quieries in 'lib/' ensure UTF-8 compatibility.
This commit is contained in:
@@ -78,10 +78,9 @@ RDAudioStore::ErrorCode RDAudioStore::runStore(const QString &username,
|
||||
//
|
||||
// Generate POST Data
|
||||
//
|
||||
QString post=QString().sprintf("COMMAND=%d&LOGIN_NAME=%s&PASSWORD=%s",
|
||||
RDXPORT_COMMAND_AUDIOSTORE,
|
||||
(const char *)RDFormPost::urlEncode(username),
|
||||
(const char *)RDFormPost::urlEncode(password));
|
||||
QString post=QString().sprintf("COMMAND=%d&",RDXPORT_COMMAND_AUDIOSTORE)+
|
||||
"LOGIN_NAME="+RDFormPost::urlEncode(username)+"&"+
|
||||
"PASSWORD="+RDFormPost::urlEncode(password);
|
||||
if((curl=curl_easy_init())==NULL) {
|
||||
return RDAudioStore::ErrorInternal;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user