Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/external/mit/xtrans/dist make _port 'const', to match the ...
details: https://anonhg.NetBSD.org/xsrc/rev/3b42cb9bd2e9
branches: trunk
changeset: 7534:3b42cb9bd2e9
user: mrg <mrg%NetBSD.org@localhost>
date: Mon Jun 19 07:23:39 2023 +0000
description:
make _port 'const', to match the users.
diffstat:
external/mit/xtrans/dist/Xtrans.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 822d07e03af7 -r 3b42cb9bd2e9 external/mit/xtrans/dist/Xtrans.c
--- a/external/mit/xtrans/dist/Xtrans.c Mon Jun 19 06:44:23 2023 +0000
+++ b/external/mit/xtrans/dist/Xtrans.c Mon Jun 19 07:23:39 2023 +0000
@@ -204,7 +204,8 @@ TRANS(ParseAddress) (const char *address
char *mybuf, *tmpptr = NULL;
const char *_protocol = NULL;
- char *_host, *_port;
+ char *_host;
+ const char *_port;
char hostnamebuf[256];
int _host_len;
Home |
Main Index |
Thread Index |
Old Index