Used add_shell_quoted_to_string instead of enclosing the text with '"'.
commit026e56d539099477043e499b1a7227c5a67e200f
authorWitold Filipczyk <witekfl@poczta.onet.pl>
Mon, 26 Feb 2007 18:51:22 +0000 (26 19:51 +0100)
committerKalle Olavi Niemitalo <Kalle@Astalo.kon.iki.fi>
Mon, 12 Mar 2007 17:22:41 +0000 (12 19:22 +0200)
treeb070e1fd375dba6a1d0975b3078956b6f093678c
parentb3fa9a7019ace703f5515b9610f44b9bce1a8d66
Used add_shell_quoted_to_string instead of enclosing the text with '"'.

The code works both with copiousoutput and without it.

[ Part 1/2 of commit c25c41bd18639111446bbc270466f1d8a9de329e on the
  witekfl branch.  I'm leaving out the part that depends on commit
  469481b2725cd08a51a81ac344fd90749fea109c, which is not yet safe to
  apply.  --KON ]
src/session/download.c