OSDN Git Service
(root)
/
hengband
/
hengband.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bec0365
)
スコアサーバ転送時のassertエラーを修正。 / Fix assertion error in sending to score server.
author
Deskull
<desull@users.sourceforge.jp>
Sun, 1 May 2016 12:40:40 +0000
(21:40 +0900)
committer
Deskull
<desull@users.sourceforge.jp>
Sun, 1 May 2016 12:40:40 +0000
(21:40 +0900)
src/inet.c
patch
|
blob
|
history
diff --git
a/src/inet.c
b/src/inet.c
index
d5fbac7
..
1bcec65
100644
(file)
--- a/
src/inet.c
+++ b/
src/inet.c
@@
-165,7
+165,7
@@
void set_proxy(char *default_url, int default_port)
/* ポート番号があるかどうかを調べ、あればproxy_portに設定。 */
--len;
- while (len > 0 && isdigit(s[len]))
+ while (len > 0 && isdigit(
(unsigned char)
s[len]))
--len;
if (len > 0 && s[len] == ':' && s[len + 1] != '\0')
{