aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/auth/factotum/rpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/auth/factotum/rpc.c')
-rw-r--r--src/cmd/auth/factotum/rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/auth/factotum/rpc.c b/src/cmd/auth/factotum/rpc.c
index 8e2b17a0..400b7de5 100644
--- a/src/cmd/auth/factotum/rpc.c
+++ b/src/cmd/auth/factotum/rpc.c
@@ -260,7 +260,7 @@ rpcrespondn(Conv *c, char *verb, void *data, int count)
p = c->reply + strlen(c->reply);
*p++ = ' ';
if(hex){
- enc16(p, 2*count, data, count);
+ enc16(p, 2*count+1, data, count);
p += 2*count;
}else{
memmove(p, data, count);