Skip to content

Commit

Permalink
campaignd: Use empty C strings instead of t_strings to clear out attr…
Browse files Browse the repository at this point in the history
…ibutes

(Backported 9b1fd86 from master.)
  • Loading branch information
irydacea committed Oct 11, 2014
1 parent 47c9b63 commit 7f39a46
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/campaign_server/campaign_server.cpp
Expand Up @@ -377,10 +377,10 @@ void server::handle_request_campaign_list(const server::request& req)
}

BOOST_FOREACH(config &j, campaign_list.child_range("campaign")) {
j["passphrase"] = t_string();
j["upload_ip"] = t_string();
j["email"] = t_string();
j["feedback_url"] = t_string();
j["passphrase"] = "";
j["upload_ip"] = "";
j["email"] = "";
j["feedback_url"] = "";

// Build a feedback_url string attribute from the
// internal [feedback] data.
Expand Down

0 comments on commit 7f39a46

Please sign in to comment.