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 /file.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 'file.c')
-rw-r--r-- | file.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -635,7 +635,7 @@ cf_read(capture_file *cf, gboolean reloading) CATCH(OutOfMemoryError) { simple_message_box(ESD_TYPE_ERROR, NULL, "More information and workarounds can be found at\n" - WS_WIKI_URL("KnownBugs/OutOfMemory"), + WS_WIKI_HOME_URL "/" "KnownBugs/OutOfMemory", "Sorry, but Wireshark has run out of memory and has to terminate now."); #if 0 /* Could we close the current capture and free up memory from that? */ @@ -813,7 +813,7 @@ cf_continue_tail(capture_file *cf, volatile int to_read, wtap_rec *rec, CATCH(OutOfMemoryError) { simple_message_box(ESD_TYPE_ERROR, NULL, "More information and workarounds can be found at\n" - WS_WIKI_URL("KnownBugs/OutOfMemory"), + WS_WIKI_HOME_URL "/" "KnownBugs/OutOfMemory", "Sorry, but Wireshark has run out of memory and has to terminate now."); #if 0 /* Could we close the current capture and free up memory from that? */ |