Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
eb519469
Commit
eb519469
authored
Jun 13, 1991
by
Peter Eriksson
Browse files
Some fixes with the setlocale() call.
parent
2cb13152
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/ramkomd.c
View file @
eb519469
...
...
@@ -210,9 +210,14 @@ main (int argc,
FILE
*
stat_file
;
extern
int
number_of_allocated_strings
(
void
);
/* From s-string.c */
if
(
setlocale
(
LC_CTYPE
,
"iso_8859_1"
)
==
NULL
)
{
perror
(
"setlocale"
);
exit
(
1
);
}
s_set_storage_management
(
string_malloc
,
string_realloc
,
string_free
);
setlocale
(
LC_CTYPE
,
"iso_8859_1"
);
strcpy
(
ip_client_port
,
DEFAULT_CLIENT_SERVICE
);
strcpy
(
ip_mux_port
,
DEFAULT_MUX_SERVICE
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment