Mercurial > octave-nkf
comparison liboctave/util/url-transfer.cc @ 17563:d7ca186396d4
Fix compilation error when building without curl
* url-transfer.cc (disabled_error): Use current_liboctave_error_handler
to report error message.
author | Mike Miller <mtmiller@ieee.org> |
---|---|
date | Fri, 04 Oct 2013 00:15:36 -0400 |
parents | 58039875767d |
children | 4b65355a31f2 |
comparison
equal
deleted
inserted
replaced
17562:76a8a179bf5b | 17563:d7ca186396d4 |
---|---|
757 #else | 757 #else |
758 | 758 |
759 static void | 759 static void |
760 disabled_error (void) | 760 disabled_error (void) |
761 { | 761 { |
762 error ("support for url transfers was disabled when Octave was built"); | 762 (*current_liboctave_error_handler) |
763 ("support for url transfers was disabled when Octave was built"); | |
763 } | 764 } |
764 | 765 |
765 #endif | 766 #endif |
766 | 767 |
767 #if defined (HAVE_CURL) | 768 #if defined (HAVE_CURL) |