Mercurial > dropbear
comparison cli-runopts.c @ 776:f7c8b786e595
changelog updates for 2013.57
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 15 Apr 2013 21:51:27 +0800 |
parents | 7fc0aeada79c |
children | 34e69908b3f7 |
comparison
equal
deleted
inserted
replaced
775:2f1c199b6e4b | 776:f7c8b786e595 |
---|---|
502 int written = snprintf(ret+total, size, "-i %s ", key->filename); | 502 int written = snprintf(ret+total, size, "-i %s ", key->filename); |
503 dropbear_assert((unsigned int)written < size); | 503 dropbear_assert((unsigned int)written < size); |
504 total += written; | 504 total += written; |
505 } | 505 } |
506 | 506 |
507 /* if args where passed, total will be not zero, and it will have a space at the end, so remove that */ | 507 /* if args were passed, total will be not zero, and it will have a space at the end, so remove that */ |
508 if (total > 0) | 508 if (total > 0) |
509 { | 509 { |
510 total--; | 510 total--; |
511 } | 511 } |
512 | 512 |