dma.diff
| b/aliases_parse.y Fri Feb 01 11:29:49 2008 -0800 | ||
|---|---|---|
| 5 | 5 | |
| 6 | 6 |
extern int yylineno; |
| 7 | 7 | |
| 8 |
void |
|
| 8 |
int yylex(void); |
|
| 9 |
int yywrap(void); |
|
| 10 | ||
| 11 |
static void |
|
| 9 | 12 |
yyerror(const char *msg) |
| 10 | 13 |
{
|
| 11 | 14 |
warnx("aliases line %d: %s", yylineno, msg);
|
| b/aliases_scan.l Fri Feb 01 11:29:49 2008 -0800 | ||
|---|---|---|
| 1 | 1 |
%{
|
| 2 |
#include <string.h> |
|
| 2 | 3 |
#include "aliases_parse.h" |
| 4 | ||
| 5 |
int yylex(void); |
|
| 3 | 6 |
%} |
| 4 | 7 | |
| 5 | 8 |
%option yylineno |
| 9 |
%option nounput |
|
| 6 | 10 | |
| 7 | 11 |
%% |
| 8 | 12 | |
| b/dma.h Fri Feb 01 11:29:49 2008 -0800 | ||
|---|---|---|
| 42 | 42 |
#endif /* HAVE_CRYPTO */ |
| 43 | 43 | |
| 44 | 44 |
#include <sys/queue.h> |
| 45 |
#include <stdint.h> |
|
| 45 | 46 |
#include <stdio.h> |
| 46 | 47 | |
| 47 | 48 | |
| b/net.c Fri Feb 01 11:29:49 2008 -0800 | ||
|---|---|---|
| 59 | 59 |
static jmp_buf timeout_alarm; |
| 60 | 60 | |
| 61 | 61 |
static void |
| 62 |
sig_alarm(int signo) |
|
| 62 |
sig_alarm(int signo __unused)
|
|
| 63 | 63 |
{
|
| 64 | 64 |
longjmp(timeout_alarm, 1); |
| 65 | 65 |
} |
| ... | ... | |
| 193 | 193 |
#endif |
| 194 | 194 |
int fd, error = 0, port; |
| 195 | 195 | |
| 196 |
if (config->port != NULL)
|
|
| 196 |
if (config->port != 0)
|
|
| 197 | 197 |
port = config->port; |
| 198 | 198 |
else |
| 199 | 199 |
port = SMTP_PORT; |