diff options
author | Mattias Andrée <maandree@kth.se> | 2016-08-05 18:19:50 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-08-05 18:19:50 +0200 |
commit | 3e3cf383ae5a0c39e39020c69370c59c27416028 (patch) | |
tree | 6578f0497f797483c70a8f11e2c189b4e0bd381b /src/state.c | |
parent | Fix signal handlers: restore errno (diff) | |
download | coopgammad-3e3cf383ae5a0c39e39020c69370c59c27416028.tar.gz coopgammad-3e3cf383ae5a0c39e39020c69370c59c27416028.tar.bz2 coopgammad-3e3cf383ae5a0c39e39020c69370c59c27416028.tar.xz |
Fix bugs
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/state.c')
-rw-r--r-- | src/state.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/state.c b/src/state.c index 71e2146..a9b4b2e 100644 --- a/src/state.c +++ b/src/state.c @@ -286,7 +286,6 @@ size_t state_unmarshal(const void* restrict buf) if (*(bs + off)) { - off += 1; n = strlen(bs + off) + 1; if (!(argv0_real = memdup(bs + off, n))) return 0; |