Index: openacs-4/packages/contacts/tcl/oo-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/tcl/oo-procs.tcl,v diff -u -N -r1.10 -r1.11 --- openacs-4/packages/contacts/tcl/oo-procs.tcl 31 May 2013 20:27:17 -0000 1.10 +++ openacs-4/packages/contacts/tcl/oo-procs.tcl 5 Apr 2018 14:44:09 -0000 1.11 @@ -373,7 +373,7 @@
If everything runs fine, the function will return a PDF document. You can check this, if the returned value will start with %PDF- (e.g. %PDF-1.4 will indicate PDF version 1.4). If you get a different return value, - an error is occured. Check this before you go on with further processing, e.g. saving the return value + an error is occurred. Check this before you go on with further processing, e.g. saving the return value to a file.

A simple example:
@@ -477,7 +477,7 @@ #ns_log Notice "*** rfd=$rfd" #ns_log Notice "*** wfd=$wfd" - #headers necesary for a post and the form variables + #headers necessary for a post and the form variables #_ns_http_puts $timeout $wfd "Content-type: text/plain \r" _ns_http_puts $timeout $wfd "Content-type: $content_type \r" @@ -681,7 +681,7 @@ #ns_log Notice "**** result=$result" if {[string first "%PDF-" $result]==-1} { - # an error occured, return 0 (FALSE) + # an error occurred, return 0 (FALSE) return 0 } else { # save the result to destination_file @@ -1239,4 +1239,4 @@ } } -#---------------------------------------------------------------------- \ No newline at end of file +#----------------------------------------------------------------------