diff src/DLD-FUNCTIONS/urlwrite.cc @ 6335:de4ae354c831

[project @ 2007-02-21 18:19:07 by jwe]
author jwe
date Wed, 21 Feb 2007 18:19:07 +0000
parents 199f15a8d1fc
children 334499d75c5c
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/urlwrite.cc	Wed Feb 21 12:30:11 2007 +0000
+++ b/src/DLD-FUNCTIONS/urlwrite.cc	Wed Feb 21 18:19:07 2007 +0000
@@ -314,7 +314,9 @@
     error ("urlwrite: curl: %s", curl_easy_strerror (res));
 
 #else
-  error ("urlwrite: not available in this version of Octave");
+  retval(2) = "urlwrite: not available in this version of Octave";
+  retval(1) = 0;
+  retval(0) = "";
 #endif
 
   return retval;
@@ -429,7 +431,9 @@
     error ("urlread: curl: %s", curl_easy_strerror (res));
 
 #else
-  error ("urlread: not available in this version of Octave");
+  retval(2) = "urlread: not available in this version of Octave";
+  retval(1) = 0;
+  retval(0) = "";
 #endif
 
   return retval;