From: Mike Taylor Date: Mon, 10 Dec 2007 09:37:00 +0000 (+0000) Subject: Comment X-Git-Tag: CPAN.1.12~35 X-Git-Url: http://git.indexdata.com/?p=simpleserver-moved-to-github.git;a=commitdiff_plain;h=dc9e19f7a9e21e09bd1563530aa58d3df95cd189 Comment --- diff --git a/SimpleServer.xs b/SimpleServer.xs index 788b929..3493be0 100644 --- a/SimpleServer.xs +++ b/SimpleServer.xs @@ -1,5 +1,5 @@ /* - * $Id: SimpleServer.xs,v 1.79 2007-09-10 14:50:31 mike Exp $ + * $Id: SimpleServer.xs,v 1.80 2007-12-10 09:37:00 mike Exp $ * ---------------------------------------------------------------------- * * Copyright (c) 2000-2004, Index Data. @@ -1481,9 +1481,12 @@ bend_initresult *bend_init(bend_initrequest *q) } href = newHV(); + + ### These should be given initial values from the client hv_store(href, "IMP_ID", 6, newSVpv("", 0), 0); hv_store(href, "IMP_NAME", 8, newSVpv("", 0), 0); hv_store(href, "IMP_VER", 7, newSVpv("", 0), 0); + hv_store(href, "ERR_CODE", 8, newSViv(0), 0); hv_store(href, "ERR_STR", 7, newSViv(0), 0); hv_store(href, "PEER_NAME", 9, newSVpv(q->peer_name, 0), 0);