summaryrefslogtreecommitdiff
path: root/channels.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels.c')
-rw-r--r--channels.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels.c b/channels.c
index c838b8534..70ffd7b33 100644
--- a/channels.c
+++ b/channels.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: channels.c,v 1.244 2006/03/25 13:17:01 djm Exp $ */ 1/* $OpenBSD: channels.c,v 1.245 2006/03/25 18:43:30 deraadt Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -3079,7 +3079,7 @@ x11_request_forwarding_with_spoofing(int client_session_id, const char *disp,
3079 if (cp) 3079 if (cp)
3080 cp = strchr(cp, '.'); 3080 cp = strchr(cp, '.');
3081 if (cp) 3081 if (cp)
3082 screen_number = atoi(cp + 1); 3082 screen_number = (u_int)strtonum(cp + 1, 0, 400, NULL);
3083 else 3083 else
3084 screen_number = 0; 3084 screen_number = 0;
3085 3085