diff options
Diffstat (limited to 'jni/iodine/src/fw_query.c')
-rw-r--r-- | jni/iodine/src/fw_query.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jni/iodine/src/fw_query.c b/jni/iodine/src/fw_query.c index 3727f08..4f7d8c4 100644 --- a/jni/iodine/src/fw_query.c +++ b/jni/iodine/src/fw_query.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008 Erik Ekman <yarrick@kryo.se> + * Copyright (c) 2008-2014 Erik Ekman <yarrick@kryo.se> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -29,9 +29,9 @@ void fw_query_init() void fw_query_put(struct fw_query *fw_query) { memcpy(&(fwq[fwq_ix]), fw_query, sizeof(struct fw_query)); - + ++fwq_ix; - if (fwq_ix >= FW_QUERY_CACHE_SIZE) + if (fwq_ix >= FW_QUERY_CACHE_SIZE) fwq_ix = 0; } |