X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=server%2Fstatserv.c;h=3480c5d3406f0665ec8b05a461fd84dc612d3cd8;hp=dd3dc75ed654ade7bc2f054d1bc30c7c213ed261;hb=ac286ae76051058c8e340bf84eb98391340b7d22;hpb=6d6cdcaccf2b4cab92da8e29700053b43543dd4c diff --git a/server/statserv.c b/server/statserv.c index dd3dc75..3480c5d 100644 --- a/server/statserv.c +++ b/server/statserv.c @@ -6,7 +6,7 @@ * NT threaded server code by * Chas Woodfield, Fretwell Downing Informatics. * - * $Id: statserv.c,v 1.91 2003-02-12 15:06:43 adam Exp $ + * $Id: statserv.c,v 1.92 2003-02-14 18:49:24 adam Exp $ */ #include @@ -695,7 +695,8 @@ void statserv_setcontrol(statserv_options_block *block) void statserv_add_soap_handler(int (*h)(struct bend_soap_rr *rr), const char *ns) { - struct bend_soap_handler *sh = xmalloc(sizeof(*sh)); + struct bend_soap_handler *sh = (struct bend_soap_handler *) + xmalloc(sizeof(*sh)); sh->handler = h; sh->ns = xstrdup(ns);