summaryrefslogtreecommitdiffhomepage
path: root/dropbearkey.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2006-06-07 15:01:20 +0000
committerMatt Johnston <matt@ucc.asn.au>2006-06-07 15:01:20 +0000
commitbe2b7d9725f8adef1b75bddc9944f69b87219120 (patch)
tree80a81ac42eecda02aac0210e34938970fa28c068 /dropbearkey.c
parent1428c01a5fd05e60ca30f9645202bfa44a0934f6 (diff)
Add -N "no remote command" dbclient option.
Document -N in dbclient.1 and -P in dropbear.8 --HG-- extra : convert_revision : 7cada79bf8f61e09a72e5d492170bd10ab0acee3
Diffstat (limited to 'dropbearkey.c')
-rw-r--r--dropbearkey.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dropbearkey.c b/dropbearkey.c
index 0825053..280e1b3 100644
--- a/dropbearkey.c
+++ b/dropbearkey.c
@@ -321,8 +321,7 @@ static void printpubkey(sign_key * key, int keytype) {
/* a user@host comment is informative */
username = "";
pw = getpwuid(getuid());
- if (pw)
- {
+ if (pw) {
username = pw->pw_name;
}