X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=join.cpp;h=b1a06bb500ad40eacafca5dc0ffacd11367cf7e6;hp=b3f8843b33a5423f3b18b36617dc35a9db032ec6;hb=3ac6881c22bce18091f19b06958ac66016bf9a32;hpb=d2b113f2c4f11acfaee1b2e0fd2f03744a89f6d4 diff --git a/join.cpp b/join.cpp index b3f8843..b1a06bb 100644 --- a/join.cpp +++ b/join.cpp @@ -27,8 +27,7 @@ class Join *find_join_id(unsigned int join_id) { class Join *join = join_first; - while(join) - { + while(join) { //printf("comparing: '%s' with '%s'\n", name, join->j_name); if (join->j_serial == join_id) return(join); @@ -71,8 +70,7 @@ Join::~Join() cl = join_first; clp = &join_first; - while(cl) - { + while(cl) { if (cl == this) break; clp = &cl->next; @@ -106,15 +104,12 @@ int Join::handler(void) void join_free(void) { - if (!join_first) - { + if (!join_first) { PDEBUG(DEBUG_JOIN, "no more pending join(s), done!\n"); return; } - while(join_first) - { - if (options.deb & DEBUG_JOIN) - { + while(join_first) { + if (options.deb & DEBUG_JOIN) { PDEBUG(DEBUG_JOIN, "freeing pending join\n"); }