]> git.sesse.net Git - betaftpd/blobdiff - ascii.h
Fixed a security problem where the custom snprintf() would always be used. Thanks...
[betaftpd] / ascii.h
diff --git a/ascii.h b/ascii.h
index 7b2519c1dbc837f28742f3ee9adda07b15638640..200d4bb89f203eac603a245d82eb40a523ca1e32 100644 (file)
--- a/ascii.h
+++ b/ascii.h
@@ -2,7 +2,7 @@
     Copyright (C) 1999-2000 Steinar H. Gunderson
 
     This program is is free software; you can redistribute it and/or modify
     Copyright (C) 1999-2000 Steinar H. Gunderson
 
     This program is is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License, version 2 if the
+    it under the terms of the GNU General Public License, version 2 of the
     License as published by the Free Software Foundation.
 
     This program is distributed in the hope that it will be useful,
     License as published by the Free Software Foundation.
 
     This program is distributed in the hope that it will be useful,
     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */
 
     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */
 
+#ifndef _ASCII_H
+#define _ASCII_H 1
+
 int ascii_findlength(const char * const buffer, const int tranlen);
 int ascii_downloadfilter(const char * const buffer, char * const outbuffer, const int length);
 int ascii_uploadfilter(char * const buffer, const int length);
 int ascii_findlength(const char * const buffer, const int tranlen);
 int ascii_downloadfilter(const char * const buffer, char * const outbuffer, const int length);
 int ascii_uploadfilter(char * const buffer, const int length);
+
+#endif