--- libaitrpc/src/lists.c 2011/05/02 23:12:08 1.2 +++ libaitrpc/src/lists.c 2011/08/18 15:08:03 1.3 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: lists.c,v 1.2 2011/05/02 23:12:08 misho Exp $ +* $Id: lists.c,v 1.3 2011/08/18 15:08:03 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -259,11 +259,11 @@ rpc_srv_unregisterCall(rpc_srv_t * __restrict srv, con func.func_hash = hash_fnv((char*) str, MAXPATHLEN + UCHAR_MAX + 1); f = rpc_srv_getCall(srv, func.func_tag, func.func_hash); - if (!f) // not found element for unregister + if (!f) /* not found element for unregister */ return 0; pthread_mutex_lock(&srv->srv_mtx); - if (srv->srv_funcs == f) { // if is 1st element + if (srv->srv_funcs == f) { /* if is 1st element */ srv->srv_funcs = srv->srv_funcs->func_next; if (f->func_args && f->func_vals) @@ -411,11 +411,11 @@ rpc_srv_unregisterBLOB(rpc_srv_t * __restrict srv, uin } b = rpc_srv_getBLOB(srv, var); - if (!b) // not found element for unregister + if (!b) /* not found element for unregister */ return 0; pthread_mutex_lock(&srv->srv_blob.mtx); - if (srv->srv_blob.blobs == b) { // if is 1st element + if (srv->srv_blob.blobs == b) { /* if is 1st element */ srv->srv_blob.blobs = srv->srv_blob.blobs->blob_next; } else { for (curr = srv->srv_blob.blobs; curr->blob_next != b; curr = curr->blob_next);