1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
Index: src/response.c
===================================================================
RCS file: /cvsroot/proftp/proftpd/src/response.c,v
retrieving revision 1.4
diff -u -r1.4 response.c
--- src/response.c 3 Jun 2003 16:25:23 -0000 1.4
+++ src/response.c 27 Jun 2005 23:03:35 -0000
@@ -1,6 +1,6 @@
/*
* ProFTPD - FTP server daemon
- * Copyright (c) 2001, 2002, 2003 The ProFTPD Project team
+ * Copyright (c) 2001-2005 The ProFTPD Project team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -169,7 +169,7 @@
buf[sizeof(buf) - 1] = '\0';
sstrcat(buf, "\r\n", sizeof(buf));
- RESPONSE_WRITE_STR_ASYNC(session.c->outstrm, buf, strlen(buf))
+ RESPONSE_WRITE_STR_ASYNC(session.c->outstrm, "%s", buf)
}
void pr_response_send(const char *resp_numeric, const char *fmt, ...) {
|