Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zmap
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
zmap
Commits
8cfcf0a1
Commit
8cfcf0a1
authored
15 years ago
by
mh17
Browse files
Options
Downloads
Patches
Plain Diff
debug options added
parent
2813ff76
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/zmapServer/zmapServerProtocolHandler.c
+14
-4
14 additions, 4 deletions
src/zmapServer/zmapServerProtocolHandler.c
with
14 additions
and
4 deletions
src/zmapServer/zmapServerProtocolHandler.c
+
14
−
4
View file @
8cfcf0a1
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
* HISTORY:
* HISTORY:
* Last edited: Nov 26 08:26 2009 (edgrif)
* Last edited: Nov 26 08:26 2009 (edgrif)
* Created: Thu Jan 27 13:17:43 2005 (edgrif)
* Created: Thu Jan 27 13:17:43 2005 (edgrif)
* CVS info: $Id: zmapServerProtocolHandler.c,v 1.5
1
2009-12-
14 16:37:59
mh17 Exp $
* CVS info: $Id: zmapServerProtocolHandler.c,v 1.5
2
2009-12-
21 11:26:27
mh17 Exp $
*-------------------------------------------------------------------
*-------------------------------------------------------------------
*/
*/
...
@@ -81,6 +81,9 @@ typedef struct
...
@@ -81,6 +81,9 @@ typedef struct
}
DrawableStruct
,
*
Drawable
;
}
DrawableStruct
,
*
Drawable
;
gboolean
zmap_server_feature2style_debug_G
=
FALSE
;
gboolean
zmap_server_styles_debug_G
=
FALSE
;
static
void
protocolGlobalInitFunc
(
ZMapProtocolInitList
protocols
,
ZMapURL
url
,
static
void
protocolGlobalInitFunc
(
ZMapProtocolInitList
protocols
,
ZMapURL
url
,
void
**
global_init_data
)
;
void
**
global_init_data
)
;
...
@@ -408,12 +411,19 @@ if(*slave_data) zMapLogMessage("req %s/%s %d",server->url->protocol,server->url-
...
@@ -408,12 +411,19 @@ if(*slave_data) zMapLogMessage("req %s/%s %d",server->url->protocol,server->url-
&
(
feature_sets
->
source_2_featureset_out
))
;
&
(
feature_sets
->
source_2_featureset_out
))
;
if
(
request
->
response
!=
ZMAP_SERVERRESPONSE_OK
&&
request
->
response
!=
ZMAP_SERVERRESPONSE_UNSUPPORTED
)
if
(
request
->
response
==
ZMAP_SERVERRESPONSE_OK
)
{
if
(
zmap_server_feature2style_debug_G
)
// OK status: only do this for active databases not files
{
/* Print out the featureset -> styles lists. */
zMap_g_hashlist_print
(
feature_sets
->
featureset_2_stylelist_out
);
}
}
else
if
(
request
->
response
!=
ZMAP_SERVERRESPONSE_UNSUPPORTED
)
{
{
*
err_msg_out
=
g_strdup_printf
(
zMapServerLastErrorMsg
(
server
))
;
*
err_msg_out
=
g_strdup_printf
(
zMapServerLastErrorMsg
(
server
))
;
thread_rc
=
ZMAPTHREAD_RETURNCODE_REQFAIL
;
thread_rc
=
ZMAPTHREAD_RETURNCODE_REQFAIL
;
}
}
break
;
break
;
}
}
case
ZMAP_SERVERREQ_STYLES
:
case
ZMAP_SERVERREQ_STYLES
:
...
@@ -786,7 +796,7 @@ ZMapThreadReturnCode getStyles(ZMapServer server, ZMapServerReqStyles styles, ch
...
@@ -786,7 +796,7 @@ ZMapThreadReturnCode getStyles(ZMapServer server, ZMapServerReqStyles styles, ch
{
{
ZMapIOOut
dest
;
ZMapIOOut
dest
;
char
*
string
;
char
*
string
;
gboolean
styles_debug
=
FALSE
;
gboolean
styles_debug
=
zmap_server_styles_debug_G
;
/* PRINTOUT is changed to this now so need to write a short debug routine for all
/* PRINTOUT is changed to this now so need to write a short debug routine for all
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment