Browse code

bugfix

git-svn: trunk@819

Tomasz Kojm authored on 2004/09/01 10:42:20
Showing 1 changed files
... ...
@@ -285,7 +285,7 @@ int cli_cvdverify(FILE *fd, struct cl_cvd *cvdpt)
285 285
     if((cvd = cl_cvdparse(head)) == NULL)
286 286
 	return CL_ECVD;
287 287
 
288
-    if(cvd)
288
+    if(cvdpt)
289 289
 	memcpy(cvdpt, cvd, sizeof(struct cl_cvd));
290 290
 
291 291
     md5 = cli_md5stream(fd);