summaryrefslogtreecommitdiff
path: root/sftp-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'sftp-server.c')
-rw-r--r--sftp-server.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sftp-server.c b/sftp-server.c
index a9cc9408a..2c25df9de 100644
--- a/sftp-server.c
+++ b/sftp-server.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sftp-server.c,v 1.80 2008/05/18 21:29:05 djm Exp $ */ 1/* $OpenBSD: sftp-server.c,v 1.81 2008/06/07 21:52:46 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2000-2004 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000-2004 Markus Friedl. All rights reserved.
4 * 4 *
@@ -502,7 +502,7 @@ send_statvfs(u_int32_t id, struct statvfs *st)
502 buffer_put_int64(&msg, st->f_files); 502 buffer_put_int64(&msg, st->f_files);
503 buffer_put_int64(&msg, st->f_ffree); 503 buffer_put_int64(&msg, st->f_ffree);
504 buffer_put_int64(&msg, st->f_favail); 504 buffer_put_int64(&msg, st->f_favail);
505 buffer_put_int(&msg, st->f_fsid); 505 buffer_put_int64(&msg, st->f_fsid);
506 buffer_put_int(&msg, flag); 506 buffer_put_int(&msg, flag);
507 buffer_put_int(&msg, st->f_namemax); 507 buffer_put_int(&msg, st->f_namemax);
508 send_msg(&msg); 508 send_msg(&msg);
@@ -528,10 +528,10 @@ process_init(void)
528#ifdef USEE_STATVFS 528#ifdef USEE_STATVFS
529 /* statvfs extension */ 529 /* statvfs extension */
530 buffer_put_cstring(&msg, "statvfs@openssh.com"); 530 buffer_put_cstring(&msg, "statvfs@openssh.com");
531 buffer_put_cstring(&msg, "1"); /* version */ 531 buffer_put_cstring(&msg, "2"); /* version */
532 /* fstatvfs extension */ 532 /* fstatvfs extension */
533 buffer_put_cstring(&msg, "fstatvfs@openssh.com"); 533 buffer_put_cstring(&msg, "fstatvfs@openssh.com");
534 buffer_put_cstring(&msg, "1"); /* version */ 534 buffer_put_cstring(&msg, "2"); /* version */
535#endif 535#endif
536 send_msg(&msg); 536 send_msg(&msg);
537 buffer_free(&msg); 537 buffer_free(&msg);