to dump core. from Szabolcs Szigeti <pink@bagira.fsz.bme.hu>
#ifndef lint
/*static char sccsid[] = "from: @(#)quiz.c 5.1 (Berkeley) 11/10/91";*/
-static char rcsid[] = "$Id: quiz.c,v 1.2 1993/08/01 18:52:59 mycroft Exp $";
+static char rcsid[] = "$Id: quiz.c,v 1.3 1993/11/17 11:58:40 cgd Exp $";
#endif /* not lint */
#include <sys/types.h>
register int ch;
char *m;
- if ((m = malloc(strlen(sp) + strlen(tp) + 1)) == NULL)
+ if ((m = malloc(strlen(s) + strlen(tp) + 1)) == NULL)
err("%s", strerror(errno));
for (mp = m, sp = s; *mp++ = *sp++;);