summaryrefslogtreecommitdiff
path: root/instr-daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'instr-daemon.c')
-rw-r--r--instr-daemon.c8
1 files changed, 5 insertions, 3 deletions
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;