aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsserver/linked-list.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-20 04:32:00 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-20 04:33:14 +0200
commit799e2d46923728ac670d7110f764868b82333a0b (patch)
treeff206e5bc62672ed31910e7ca52aed7b106618b1 /src/libmdsserver/linked-list.h
parentmisc, mostly mds-base re-exec (diff)
downloadmds-799e2d46923728ac670d7110f764868b82333a0b.tar.gz
mds-799e2d46923728ac670d7110f764868b82333a0b.tar.bz2
mds-799e2d46923728ac670d7110f764868b82333a0b.tar.xz
Modify mds-server to use mds-base (some regression...)
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/libmdsserver/linked-list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmdsserver/linked-list.h b/src/libmdsserver/linked-list.h
index 30808fc..5b1a44d 100644
--- a/src/libmdsserver/linked-list.h
+++ b/src/libmdsserver/linked-list.h
@@ -273,7 +273,7 @@ int linked_list_unmarshal(linked_list_t* restrict this, char* restrict data);
* @param node:ssize_t The variable to store the node in at each iteration
*/
#define foreach_linked_list_node(list, node) \
- for (node = list.edge; (node = list.next[node]) != list.edge;)
+ for (node = list.edge; node = list.next[node], node != list.edge;)
#endif