Parent Directory
|
Revision Log
|
Patch
| revision 657 by weasel, Fri Nov 7 06:52:03 2003 UTC | revision 658 by weasel, Fri Nov 7 08:34:27 2003 UTC | |
|---|---|---|
| # | Line 359 int pool_read(BUFFER *pool) | Line 359 int pool_read(BUFFER *pool) |
| 359 | int size = 0; | int size = 0; |
| 360 | ||
| 361 | d = opendir(POOLDIR); | d = opendir(POOLDIR); |
| 362 | if (d != NULL) | if (d != NULL) { |
| 363 | for (;;) { | for (;;) { |
| 364 | e = readdir(d); | e = readdir(d); |
| 365 | if (e == NULL) | if (e == NULL) |
| # | Line 372 int pool_read(BUFFER *pool) | Line 372 int pool_read(BUFFER *pool) |
| 372 | size++; | size++; |
| 373 | } | } |
| 374 | } | } |
| 375 | closedir(d); | closedir(d); |
| 376 | } else | |
| 377 | errlog(WARNING, "Error reading pool dir %s\n", POOLDIR); | |
| 378 | return (size); | return (size); |
| 379 | } | } |
| 380 | ||
| # | Line 397 void pool_dosend(void) | Line 399 void pool_dosend(void) |
| 399 | } | } |
| 400 | } | } |
| 401 | closedir(d); | closedir(d); |
| 402 | } | } else |
| 403 | errlog(WARNING, "Error reading pool dir %s\n", POOLDIR); | |
| 404 | sendmail_end(); | sendmail_end(); |
| 405 | } | } |
| 406 |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.1.5 |