[sword-devel] [Patch] Compile error in sword-1.5.7

Torrey Hoffman thoffman at arnor.net
Tue Jun 29 14:28:36 MST 2004


Compiling sword 1.5.7 on my Fedora Core 2 machine I got an error in
installmgr.cpp:

"TRUE" was undefined.

I fixed it with this patch, and after that it compiled and installed ok.
Is this correct or would something else be more appropriate?

[thoffman at rohan mgr]$ diff -u installmgr.cpp~ installmgr.cpp
--- installmgr.cpp~     2003-11-25 11:11:13.000000000 -0800
+++ installmgr.cpp      2004-06-25 10:24:01.258919661 -0700
@@ -150,7 +150,7 @@
                curl_easy_setopt(curl, CURLOPT_FILE, &ftpfile);
  
                /* Switch on full protocol/debug output */
-               curl_easy_setopt(curl, CURLOPT_VERBOSE, TRUE);
+               curl_easy_setopt(curl, CURLOPT_VERBOSE, 1);
  
                res = curl_easy_perform(curl);

-- 
Torrey Hoffman <thoffman at arnor.net>



More information about the sword-devel mailing list