mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-26 15:20:29 +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:
@@ -100,9 +100,7 @@ RDDelete::ErrorCode RDDelete::runDelete(const QString &username,
|
||||
strncpy(urlstr,(const char *)(conv_target_url.protocol()+"://"+
|
||||
conv_target_url.host()+"/"),1024);
|
||||
curl_easy_setopt(curl,CURLOPT_URL,urlstr);
|
||||
strncpy(userpwd,(const char *)QString().
|
||||
sprintf("%s:%s",(const char *)username,
|
||||
(const char *)password),256);
|
||||
strncpy(userpwd,QString(username)+":"+password,256);
|
||||
curl_easy_setopt(curl,CURLOPT_USERPWD,userpwd);
|
||||
curl_easy_setopt(curl,CURLOPT_HTTPAUTH,CURLAUTH_ANY);
|
||||
curl_easy_setopt(curl,CURLOPT_WRITEFUNCTION,DeleteWriteCallback);
|
||||
|
||||
Reference in New Issue
Block a user