From 339878baabc2ccecc24f2f9b1234a687cf90829c Mon Sep 17 00:00:00 2001
From: edgrif <edgrif>
Date: Mon, 30 Nov 2009 10:50:01 +0000
Subject: [PATCH] fix up code for new GFF parser args.

---
 src/zmapServer/pipe/pipeServer.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/zmapServer/pipe/pipeServer.c b/src/zmapServer/pipe/pipeServer.c
index 566ec1f9a..552bcdb81 100755
--- a/src/zmapServer/pipe/pipeServer.c
+++ b/src/zmapServer/pipe/pipeServer.c
@@ -32,8 +32,9 @@
  *
  * Exported functions: See ZMap/zmapServerPrototype.h
  * HISTORY:
+ * Last edited: Nov 30 09:18 2009 (edgrif)
  * Created: 2009-11-26 12:02:40 (mh17)
- * CVS info:   $Id: pipeServer.c,v 1.2 2009-11-27 10:22:55 mh17 Exp $
+ * CVS info:   $Id: pipeServer.c,v 1.3 2009-11-30 10:50:01 edgrif Exp $
  *-------------------------------------------------------------------
  */
 
@@ -360,9 +361,11 @@ static ZMapServerResponseType getFeatures(void *server_in, GData *styles, ZMapFe
   get_features.result = ZMAP_SERVERRESPONSE_OK ;
   get_features.server = (PipeServer)server_in ;
 
-  get_features.parser = zMapGFFCreateParser(styles, FALSE) ;
+  get_features.parser = zMapGFFCreateParser() ;
 							    /* FALSE => do the real parse. */
 
+  zMapGFFParserInitForFeatures(get_features.parser, styles, FALSE) ;
+
 
   get_features.gff_line = g_string_sized_new(2000) ;	    /* Probably not many lines will be >
 							       2k chars. */
@@ -553,7 +556,7 @@ static ZMapServerResponseType getContextSequence(void *server_in, GData *styles,
   get_features.result = ZMAP_SERVERRESPONSE_OK ;
   get_features.server = (PipeServer)server_in ;
 
-  get_features.parser = zMapGFFCreateParser(styles, FALSE) ;
+  get_features.parser = zMapGFFCreateParser() ;
 							    /* FALSE => do the real parse. */
 
   zMapGFFParserSetSequenceFlag(get_features.parser);
-- 
GitLab