Thread: cgilib problem
View Single Post

  #7 (permalink)  
Old 04-18-2006, 11:56 PM
cmantito cmantito is offline
Junior Member
 
Join Date: Apr 2006
Posts: 1
Rep Power: 0
cmantito
Default

I was getting the same error so I figured I'd take a quick crack at the source. The error is being thrown on line 116 of cgitest.c, so open it up and hop to line 116, and what do we see?

Code:
printf ("<h3>Cookie "Library" set</h3>\n");
The quotation marks around Library are throwing off the printf statement, so escape them by changing it to:

Code:
printf ("<h3>Cookie \"Library\" set</h3>\n");
recompile and you should be good to go!

--cmantito
Reply With Quote