[LON-CAPA-cvs] cvs: loncom /homework/caparesponse caparesponse.c

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 12 Mar 2004 23:46:07 -0000


albertel		Fri Mar 12 18:46:07 2004 EDT

  Modified files:              
    /loncom/homework/caparesponse	caparesponse.c 
  Log:
  - need to inital reterror, since it's C code
  
  
Index: loncom/homework/caparesponse/caparesponse.c
diff -u loncom/homework/caparesponse/caparesponse.c:1.12 loncom/homework/caparesponse/caparesponse.c:1.13
--- loncom/homework/caparesponse/caparesponse.c:1.12	Fri Mar 12 16:06:19 2004
+++ loncom/homework/caparesponse/caparesponse.c	Fri Mar 12 18:46:06 2004
@@ -1,6 +1,6 @@
 /* The LearningOnline Network with CAPA 
  * CAPA wrapper code
- * $Id: caparesponse.c,v 1.12 2004/03/12 21:06:19 albertel Exp $
+ * $Id: caparesponse.c,v 1.13 2004/03/12 23:46:06 albertel Exp $
  *
  * Copyright Michigan State University Board of Trustees
  *
@@ -77,6 +77,7 @@
   FILE *fp;
 
   /* need to initialize unit parser*/
+  *reterror=NULL;
   sprintf(filename,"/home/httpd/html/res/adm/includes/capa.units");
   if ((fp=fopen(filename,"r"))==NULL) {
     /* printf("Error: can't open %s\n",filename);*/