]> arthur.barton.de Git - netatalk.git/commitdiff
Fixed a warning.
authorsrittau <srittau>
Thu, 12 Sep 2002 17:33:03 +0000 (17:33 +0000)
committersrittau <srittau>
Thu, 12 Sep 2002 17:33:03 +0000 (17:33 +0000)
etc/afpd/afp_config.c

index 6842f54bfdf3843e93de9a444b80186a1fc95983..ecf7d6dbe5ac3cd4b4708caeef77c0680f3c11f5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: afp_config.c,v 1.20 2002-05-03 22:51:33 jmarcus Exp $
+ * $Id: afp_config.c,v 1.21 2002-09-12 17:33:03 srittau Exp $
  *
  * Copyright (c) 1997 Adrian Sun (asun@zoology.washington.edu)
  * All Rights Reserved.  See COPYRIGHT.
@@ -286,7 +286,7 @@ static AFPConfig *DSIConfigInit(const struct afp_options *options,
     SLPHandle hslp;
     struct servent *afpovertcp;
     int afp_port = 548;
-       char *srvloc_hostname;
+    const char *srvloc_hostname;
 #endif /* USE_SRVLOC */
 
     if ((config = (AFPConfig *) calloc(1, sizeof(AFPConfig))) == NULL) {