Skip to content
Snippets Groups Projects
Commit 0b1f13fe authored by rds's avatar rds
Browse files

shortcut if command == ping

parent 1c293ea2
No related branches found
No related tags found
No related merge requests found
......@@ -27,9 +27,9 @@
*
* Exported functions: None
* HISTORY:
* Last edited: Mar 9 12:37 2007 (rds)
* Last edited: Mar 9 14:13 2007 (rds)
* Created: Thu May 5 18:19:30 2005 (rds)
* CVS info: $Id: zmapAppremote.c,v 1.26 2007-03-09 12:39:38 rds Exp $
* CVS info: $Id: zmapAppremote.c,v 1.27 2007-03-09 14:24:24 rds Exp $
*-------------------------------------------------------------------
*/
......@@ -197,6 +197,8 @@ static char *appexecuteCommand(char *command_text, gpointer app_context_data, in
{NULL, NULL}
};
if(zMapXRemoteIsPingCommand(command_text, statusCode, &xml_reply) != 0)
return xml_reply; /* to short circuit some of this... */
parser = zMapXMLParserCreate(&request_data, FALSE, cmd_debug);
......
......@@ -30,9 +30,9 @@
*
* Exported functions: See zmapControl_P.h
* HISTORY:
* Last edited: Mar 8 17:21 2007 (rds)
* Last edited: Mar 9 14:13 2007 (rds)
* Created: Wed Nov 3 17:38:36 2004 (edgrif)
* CVS info: $Id: zmapControlRemote.c,v 1.45 2007-03-09 08:25:33 rds Exp $
* CVS info: $Id: zmapControlRemote.c,v 1.46 2007-03-09 14:22:44 rds Exp $
*-------------------------------------------------------------------
*/
......@@ -215,7 +215,10 @@ static char *controlExecuteCommand(char *command_text, ZMap zmap, int *statusCod
ZMapView view;
g_clear_error(&(zmap->info)); /* Clear the info */
if(zMapXRemoteIsPingCommand(command_text, statusCode, &xml_reply) != 0)
return xml_reply; /* to short circuit some of this... */
/* Create and setup the parser */
parser = zmapControlRemoteXMLInitialise(&objdata);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment