Skip to content

Commit

Permalink
Fixed issue in decode_route() when ENABLE_WARNINGS is enabled
Browse files Browse the repository at this point in the history
Fixes issue #169
  • Loading branch information
jstedfast committed Oct 4, 2024
1 parent 9b1368d commit 3f7005f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gmime/internet-address.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@


#ifdef ENABLE_WARNINGS
#define w(x) x
#define w(x) (x)
#else
#define w(x)
#endif /* ENABLE_WARNINGS */
Expand Down Expand Up @@ -1437,7 +1437,7 @@ decode_route (const char **in)
skip_cfws (&inptr);

if (*inptr != ':') {
w(g_warning ("Invalid route domain-list, missing ':': %.*s", inptr - start, start));
w(g_warning ("Invalid route domain-list, missing ':': %.*s", inptr - *in, *in));
goto error;
}

Expand Down

0 comments on commit 3f7005f

Please sign in to comment.