* cmd.c (guess_message_value): Make val static const array.
(smblink_cmd) [!WITH_SAMBA]: Eliminated.
Этот коммит содержится в:
родитель
16d1473204
Коммит
3964ef8d3c
@ -1,5 +1,8 @@
|
|||||||
2001-11-07 Andrew V. Samoilov <kai@cmail.ru>
|
2001-11-07 Andrew V. Samoilov <kai@cmail.ru>
|
||||||
|
|
||||||
|
* cmd.c (guess_message_value): Make val static const array.
|
||||||
|
(smblink_cmd) [!WITH_SAMBA]: Eliminated.
|
||||||
|
|
||||||
* dlg.c (add_widget): Check for what is not NULL
|
* dlg.c (add_widget): Check for what is not NULL
|
||||||
before everything else.
|
before everything else.
|
||||||
|
|
||||||
|
@ -1169,7 +1169,7 @@ void mkdir_panel_cmd (void)
|
|||||||
/* value should be freed by calling function g_free() */
|
/* value should be freed by calling function g_free() */
|
||||||
char *guess_message_value (void)
|
char *guess_message_value (void)
|
||||||
{
|
{
|
||||||
const char *var[] = {
|
static const char * const var[] = {
|
||||||
/* The highest priority value is the `LANGUAGE' environment
|
/* The highest priority value is the `LANGUAGE' environment
|
||||||
variable. This is a GNU extension. */
|
variable. This is a GNU extension. */
|
||||||
"LANGUAGE",
|
"LANGUAGE",
|
||||||
@ -1298,13 +1298,13 @@ void ftplink_cmd (void)
|
|||||||
nice_cd (_(" FTP to machine "), _(machine_str),
|
nice_cd (_(" FTP to machine "), _(machine_str),
|
||||||
"[FTP File System]", "/#ftp:", 1);
|
"[FTP File System]", "/#ftp:", 1);
|
||||||
}
|
}
|
||||||
|
#ifdef WITH_SMBFS
|
||||||
void smblink_cmd (void)
|
void smblink_cmd (void)
|
||||||
{
|
{
|
||||||
nice_cd (_(" SMB link to machine "), _(machine_str),
|
nice_cd (_(" SMB link to machine "), _(machine_str),
|
||||||
"[SMB File System]", "/#smb:", 0);
|
"[SMB File System]", "/#smb:", 0);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
#ifdef HAVE_SETSOCKOPT
|
#ifdef HAVE_SETSOCKOPT
|
||||||
void source_routing (void)
|
void source_routing (void)
|
||||||
{
|
{
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user