projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added preliminary Symbian support.
[silc.git]
/
lib
/
silcserver
/
server_st_accept.c
diff --git
a/lib/silcserver/server_st_accept.c
b/lib/silcserver/server_st_accept.c
index cad6f55fb5b106b8814563bad2a374bfbaa7baed..7ad789a9554dd2e4a71a31190edc254d5b4b743c 100644
(file)
--- a/
lib/silcserver/server_st_accept.c
+++ b/
lib/silcserver/server_st_accept.c
@@
-555,8
+555,8
@@
SILC_FSM_STATE(silc_server_st_accept_client)
ret = silc_parse_userfqdn(username, u, 128, h, sizeof(h));
if (ret < 2) {
/* Hostname not present, add it */
ret = silc_parse_userfqdn(username, u, 128, h, sizeof(h));
if (ret < 2) {
/* Hostname not present, add it */
- snprintf(n, sizeof(n), "%s", u);
- snprintf(u, sizeof(u) - 1, "%s@%s", n, ac->hostname);
+ s
ilc_s
nprintf(n, sizeof(n), "%s", u);
+ s
ilc_s
nprintf(u, sizeof(u) - 1, "%s@%s", n, ac->hostname);
} else {
/* Verify that hostname is same than resolved hostname */
if (strcmp(ac->hostname, h)) {
} else {
/* Verify that hostname is same than resolved hostname */
if (strcmp(ac->hostname, h)) {
@@
-568,8
+568,8
@@
SILC_FSM_STATE(silc_server_st_accept_client)
silc_fsm_next(fsm, silc_server_st_accept_error);
SILC_FSM_CONTINUE;
}
silc_fsm_next(fsm, silc_server_st_accept_error);
SILC_FSM_CONTINUE;
}
- snprintf(n, sizeof(n), "%s", u);
- snprintf(u, sizeof(u) - 1, "%s@%s", n, h);
+ s
ilc_s
nprintf(n, sizeof(n), "%s", u);
+ s
ilc_s
nprintf(u, sizeof(u) - 1, "%s@%s", n, h);
}
/* If configured as anonymous, scramble the username and hostname */
}
/* If configured as anonymous, scramble the username and hostname */