Back to index

courier  0.68.2
comrwerrfunc.c
Go to the documentation of this file.
00001 /*
00002 ** Copyright 1998 - 1999 Double Precision, Inc.
00003 ** See COPYING for distribution information.
00004 */
00005 
00006 #include      "courier.h"
00007 #include      "rw.h"
00008        /* Popular error handler - save error handler in udata pointer */
00009 
00010 void rw_err_func(int n, const char *txt, struct rw_info *rwi)
00011 {
00012        ((struct rw_info_rewrite *)rwi->udata)->errmsg
00013                      =makeerrmsgtext(n, txt);
00014 }
00015