summaryrefslogtreecommitdiff
path: root/sftp-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'sftp-server.c')
-rw-r--r--sftp-server.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sftp-server.c b/sftp-server.c
index 9a66b4de7..9166853ed 100644
--- a/sftp-server.c
+++ b/sftp-server.c
@@ -22,7 +22,7 @@
22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */ 23 */
24#include "includes.h" 24#include "includes.h"
25RCSID("$OpenBSD: sftp-server.c,v 1.41 2003/03/26 04:02:51 deraadt Exp $"); 25RCSID("$OpenBSD: sftp-server.c,v 1.43 2003/06/25 22:39:36 miod Exp $");
26 26
27#include "buffer.h" 27#include "buffer.h"
28#include "bufaux.h" 28#include "bufaux.h"
@@ -52,7 +52,7 @@ Buffer oqueue;
52/* Version of client */ 52/* Version of client */
53int version; 53int version;
54 54
55/* portable attibutes, etc. */ 55/* portable attributes, etc. */
56 56
57typedef struct Stat Stat; 57typedef struct Stat Stat;
58 58
@@ -442,7 +442,7 @@ process_read(void)
442 (u_int64_t)off, len); 442 (u_int64_t)off, len);
443 if (len > sizeof buf) { 443 if (len > sizeof buf) {
444 len = sizeof buf; 444 len = sizeof buf;
445 log("read change len %d", len); 445 logit("read change len %d", len);
446 } 446 }
447 fd = handle_to_fd(handle); 447 fd = handle_to_fd(handle);
448 if (fd >= 0) { 448 if (fd >= 0) {
@@ -495,7 +495,7 @@ process_write(void)
495 } else if (ret == len) { 495 } else if (ret == len) {
496 status = SSH2_FX_OK; 496 status = SSH2_FX_OK;
497 } else { 497 } else {
498 log("nothing at all written"); 498 logit("nothing at all written");
499 } 499 }
500 } 500 }
501 } 501 }
@@ -1030,7 +1030,7 @@ main(int ac, char **av)
1030 1030
1031 /* XXX should use getopt */ 1031 /* XXX should use getopt */
1032 1032
1033 __progname = get_progname(av[0]); 1033 __progname = ssh_get_progname(av[0]);
1034 handle_init(); 1034 handle_init();
1035 1035
1036#ifdef DEBUG_SFTP_SERVER 1036#ifdef DEBUG_SFTP_SERVER