mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* mcfs.c: Add INADDR_NONE definition for SunOS.
* mcserv.c: Likewise. (struct user_pass): Add "const" qualifier.
This commit is contained in:
parent
3c8833159f
commit
7c709ae396
@ -1,3 +1,8 @@
|
||||
2004-10-21 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
* mcfs.c: Add INADDR_NONE definition for SunOS.
|
||||
* mcserv.c: Likewise. (struct user_pass): Add "const" qualifier.
|
||||
|
||||
2004-10-18 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
* extfs/hp48.in: Correct quoting from last patch. Avoid a
|
||||
|
@ -56,6 +56,10 @@
|
||||
#include "mcfsutil.h"
|
||||
#include "tcputil.h"
|
||||
|
||||
#ifndef INADDR_NONE
|
||||
# define INADDR_NONE (0xffffffffU)
|
||||
#endif
|
||||
|
||||
#define MCFS_MAX_CONNECTIONS 32
|
||||
|
||||
static struct _mcfs_connection {
|
||||
|
@ -109,6 +109,10 @@
|
||||
#include "mcfsutil.h"
|
||||
#include "tcputil.h"
|
||||
|
||||
#ifndef INADDR_NONE
|
||||
# define INADDR_NONE (0xffffffffU)
|
||||
#endif
|
||||
|
||||
/* replacement for g_free() from glib */
|
||||
#undef g_free
|
||||
#define g_free(x) do {if (x) free (x);} while (0)
|
||||
@ -723,8 +727,8 @@ do_quit (void)
|
||||
#ifdef HAVE_PAM
|
||||
|
||||
struct user_pass {
|
||||
char *username;
|
||||
char *password;
|
||||
const char *username;
|
||||
const char *password;
|
||||
};
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user