From e153488780f86cf6f647b814f8ff6f3a535a0d7e Mon Sep 17 00:00:00 2001 From: root Date: Fri, 31 Dec 1999 19:03:59 -0500 Subject: astyle fixes --- instr-daemon.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'instr-daemon.c') diff --git a/instr-daemon.c b/instr-daemon.c index e71b5f2..19536d3 100644 --- a/instr-daemon.c +++ b/instr-daemon.c @@ -190,7 +190,8 @@ handler (GThreadedSocketService *service, extern void vxi_main (); -static gpointer vxithreadfunc (gpointer data){ +static gpointer vxithreadfunc (gpointer data) +{ vxi_main (); return NULL; } @@ -292,8 +293,9 @@ int main(int argc, char **argv) if (globals.Flash.vxi_enabled) { GThread *vxithread =g_thread_create(vxithreadfunc, NULL, FALSE, NULL); - if(vxithread == NULL) + if(vxithread == NULL) { printf("Couldn't create vxi thread\n"); + } } g_main_loop_run (loop); @@ -416,7 +418,7 @@ static gboolean periodic_poll (void) // or is currently handling a command if ((globals.VxiLocks.locked_network_server == NO_SERVER_LOCKED) && - (globals.VxiLocks.command_in_progress == FALSE)) { + (globals.VxiLocks.command_in_progress == FALSE)) { // tell VXI servers that the 4882 subsystem is busy globals.VxiLocks.command_in_progress = TRUE; -- cgit