aboutsummaryrefslogtreecommitdiffstats
path: root/src/state.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-08-05 18:19:50 +0200
committerMattias Andrée <maandree@kth.se>2016-08-05 18:19:50 +0200
commit3e3cf383ae5a0c39e39020c69370c59c27416028 (patch)
tree6578f0497f797483c70a8f11e2c189b4e0bd381b /src/state.c
parentFix signal handlers: restore errno (diff)
downloadcoopgammad-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.c1
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;