X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=postfix.c;h=83d7c4d58e5684d60c0ba29ced109828e09ba83e;hb=8f6739048c2593e196aceb654b4b96e1426e57d5;hp=5155471ec20ec6086ef022f49a7f93a6a31aebca;hpb=85f5a14903a2ffcbea92b3dffded303b69d1d712;p=apps%2Fpfixtools.git diff --git a/postfix.c b/postfix.c index 5155471..83d7c4d 100644 --- a/postfix.c +++ b/postfix.c @@ -45,10 +45,6 @@ struct jpriv_t { buffer_t obuf; }; -struct tpriv_t { - job_t *jobs; -}; - void postfix_start(job_t *job, query_t *query) { } @@ -92,6 +88,8 @@ void postfix_process(job_t *job) if (!strstr(job->jdata->ibuf.data, "\r\n\r\n")) return; + job->state &= ~JOB_READ; + /* TODO: do the parse */ } }