diff options
author | Guy Harris <gharris@sonic.net> | 2020-10-24 13:53:23 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2020-10-24 13:53:23 -0700 |
commit | 5df29254347daab8ab9f530a0b9dfd0b32a40efc (patch) | |
tree | b66f82cce5fe4737bc631b8719c2cd424a6fcf06 /tshark.c | |
parent | 5b2901d09015194682538d33be18900079aa0567 (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |