From 4d508021a863e8f629fef8180e4f129104b50606 Mon Sep 17 00:00:00 2001 From: compudj Date: Wed, 23 Aug 2006 11:39:03 +0000 Subject: [PATCH] lttd spaces to tabs git-svn-id: http://ltt.polymtl.ca/svn@2039 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt-control/lttd/lttd.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/ltt-control/lttd/lttd.c b/ltt-control/lttd/lttd.c index 0deb4023..fea1188e 100644 --- a/ltt-control/lttd/lttd.c +++ b/ltt-control/lttd/lttd.c @@ -205,12 +205,12 @@ int open_channel_trace_pairs(char *subchannel_name, char *subtrace_name, char path_trace[PATH_MAX]; int path_trace_len; char *path_trace_ptr; - int open_ret = 0; + int open_ret = 0; if(channel_dir == NULL) { perror(subchannel_name); open_ret = ENOENT; - goto end; + goto end; } printf("Creating trace subdirectory %s\n", subtrace_name); @@ -218,7 +218,7 @@ int open_channel_trace_pairs(char *subchannel_name, char *subtrace_name, if(ret == -1) { if(errno != EEXIST) { perror(subtrace_name); - open_ret = -1; + open_ret = -1; goto end; } } @@ -285,7 +285,7 @@ int open_channel_trace_pairs(char *subchannel_name, char *subtrace_name, } else { printf("File %s exists, cannot open. Try append mode.\n", path_trace); open_ret = -1; - goto end; + goto end; } } else { if(errno == ENOENT) { @@ -609,12 +609,12 @@ int main(int argc, char ** argv) if(daemon_mode) { ret = daemon(0, 0); - - if(ret == -1) { - perror("An error occured while daemonizing."); - exit(-1); - } - } + + if(ret == -1) { + perror("An error occured while daemonizing."); + exit(-1); + } + } /* Connect the signal handlers */ act.sa_handler = handler; -- 2.34.1