changeset 18391:af04b9d9f7ed stable

allow urlwrite to work again * urlwrite.cc (Furlwrite): Reverse sense of test when checking whether url_transfer object is valid.
author John W. Eaton <jwe@octave.org>
date Sat, 25 Jan 2014 11:48:02 -0500
parents 4da51757372f
children e0b96a751afc
files libinterp/corefcn/urlwrite.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/urlwrite.cc	Sat Jan 25 14:40:11 2014 +0100
+++ b/libinterp/corefcn/urlwrite.cc	Sat Jan 25 11:48:02 2014 -0500
@@ -418,7 +418,7 @@
 
   url_transfer curl = url_transfer (url, ofile);
 
-  if (! curl.is_valid ())
+  if (curl.is_valid ())
     {
       curl.http_action (param, method);