[Initng-svn] r4344 - initng/trunk/plugins/nge
svn at initng.thinktux.net
svn at initng.thinktux.net
Sat Jun 3 13:18:43 CEST 2006
Author: jimmy
Date: Sat Jun 3 13:18:42 2006
New Revision: 4344
Modified:
initng/trunk/plugins/nge/libngeclient.c
initng/trunk/plugins/nge/libngeclient.h
Log:
Dont set ngeclient_error on a timeout, becouse this is not an error.
Modified: initng/trunk/plugins/nge/libngeclient.c
==============================================================================
--- initng/trunk/plugins/nge/libngeclient.c (original)
+++ initng/trunk/plugins/nge/libngeclient.c Sat Jun 3 13:18:42 2006
@@ -642,7 +642,6 @@
/* check that its anything there after the long poll */
if (c->read_buffer == NULL || c->read_buffer_len < 1)
{
- ngeclient_error = "Even after a long poll, there was no data.";
return (NULL);
}
Modified: initng/trunk/plugins/nge/libngeclient.h
==============================================================================
--- initng/trunk/plugins/nge/libngeclient.h (original)
+++ initng/trunk/plugins/nge/libngeclient.h Sat Jun 3 13:18:42 2006
@@ -38,24 +38,6 @@
PROCESS_KILLED = 10,
} e_state_type;
-
-/* old code
- void (*service_state_change) (nge_event * event, char *service, e_is is,
- char *state_name);
- void (*system_state_change) (nge_event * event, h_sys_state state);
- void (*service_output) (nge_event * event, char *service, char *process,
- char *output);
- void (*err_msg) (nge_event * event, e_mt mt, char *file, char *func,
- int line, char *message);
- void (*connect) (nge_event * event, int pver, char *initng_version);
- void (*disconnect) (nge_event * event);
- void (*ping) (nge_event * event);
- void (*initial_service_state) (nge_event * event, char *service, e_is is,
- char *state_name);
- void (*initial_system_state) (nge_event * event, h_sys_state state);
- void (*initial_state_finished) (nge_event * event);
- */
-
typedef struct
{
/* standard variables to have */
More information about the Initng-svn
mailing list