samba-vscan/global vscan-parameter.c,1.1.2.2,1.1.2.3
Rainer Link <[email protected]> Sun, 26 Sep 2004 20:18:08 +0000
| Newsgroups | gmane.comp.security.virus.openantivirus.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/openantivirus/samba-vscan/global
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26946/global
Modified Files:
Tag: VSCAN_0_3
vscan-parameter.c
Log Message:
use const
Index: vscan-parameter.c
===================================================================
RCS file: /cvsroot/openantivirus/samba-vscan/global/Attic/vscan-parameter.c,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -d -r1.1.2.2 -r1.1.2.3
--- vscan-parameter.c 26 Sep 2004 16:20:18 -0000 1.1.2.2
+++ vscan-parameter.c 26 Sep 2004 20:18:06 -0000 1.1.2.3
@@ -91,9 +91,9 @@
/* FIXME: should we use const here? Should we use **conn instead? */
#if (SMB_VFS_INTERFACE_VERSION >= 6)
-const char* get_configuration_file(connection_struct *conn, fstring module_name)
+const char* get_configuration_file(const connection_struct *conn, fstring module_name)
#else
-const char* get_configuration_file(struct connection_struct *conn, fstring module_name)
+const char* get_configuration_file(const struct connection_struct *conn, fstring module_name)
#endif
{
static fstring config_file;
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php