aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2020-10-24 13:53:23 -0700
committerGuy Harris <gharris@sonic.net>2020-10-24 13:53:23 -0700
commit5df29254347daab8ab9f530a0b9dfd0b32a40efc (patch)
treeb66f82cce5fe4737bc631b8719c2cd424a6fcf06 /tshark.c
parent5b2901d09015194682538d33be18900079aa0567 (diff)
Apparently, WS_WIKI_URL() is unworkable not only in C++ but in C.
If you use it, GCC 9.3.0 seems to think there's a missing parenthesis somewhere, just as the version of clang++ in my version of Xcode does, even though other versions of GCC don't. I'm clearly missing something obscure about C here; I give up.
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tshark.c b/tshark.c
index 7e543d2b92..65e9a2be44 100644
--- a/tshark.c
+++ b/tshark.c
@@ -2069,7 +2069,7 @@ main(int argc, char *argv[])
"Sorry, but TShark has to terminate now.\n"
"\n"
"More information and workarounds can be found at\n"
- WS_WIKI_URL("KnownBugs/OutOfMemory") "\n");
+ WS_WIKI_HOME_URL "/" "KnownBugs/OutOfMemory" "\n");
status = PROCESS_FILE_ERROR;
}
ENDTRY;
@@ -2577,7 +2577,7 @@ capture(void)
"Sorry, but TShark has to terminate now.\n"
"\n"
"More information and workarounds can be found at\n"
- WS_WIKI_URL("KnownBugs/OutOfMemory") "\n");
+ WS_WIKI_HOME_URL "/" "KnownBugs/OutOfMemory" "\n");
abort();
}
ENDTRY;