ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/FreeBSDAdmin/Mail/SpamUpdate.c
(Generate patch)

Comparing FreeBSDAdmin/Mail/SpamUpdate.c (file contents):
Revision 821 by douglas, 2006-07-04T16:27:43-07:00 vs.
Revision 822 by douglas, 2006-07-04T16:57:34-07:00

# Line 161 | Line 161 | static void learn()
161                  {
162                          char *line = fcheck(fgetln(sed_, &size), sed_, environment);
163  
164 <                        printf("%s", line);
164 >                        fwrite(line, size, sizeof (char), stdout);
165                  }
166                  while (size != 0);
167  
168 +                if (fclose(sed_))
169 +                        longjmp(environment, 1);
170 +
171                  int status;
172  
173                  check(waitpid(assassin, &status, 0), environment);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines