Fix a couple more long warning lines

These are not a problem with 2-space indentation, but cocci will
start getting confused when clang-format wraps them with 4-space
indentation.
This commit is contained in:
Nick Mathewson 2020-02-06 16:19:49 -05:00
parent 6076adde25
commit 7036ed3471
2 changed files with 2 additions and 2 deletions

View File

@ -523,7 +523,7 @@ logfile_deliver(logfile_t *lf, const char *buf, size_t msg_len,
* pass them, and some very old ones do not detect overflow so well. * pass them, and some very old ones do not detect overflow so well.
* Regrettably, they call their maximum line length MAXLINE. */ * Regrettably, they call their maximum line length MAXLINE. */
#if MAXLINE < 64 #if MAXLINE < 64
#warning "MAXLINE is a very low number; it might not be from syslog.h." #warning "MAXLINE is very low; it might not be from syslog.h."
#endif #endif
char *m = msg_after_prefix; char *m = msg_after_prefix;
if (msg_len >= MAXLINE) if (msg_len >= MAXLINE)

View File

@ -78,7 +78,7 @@
#endif /* defined(HAVE_MINHERIT) || ... */ #endif /* defined(HAVE_MINHERIT) || ... */
#if defined(HAVE_MINHERIT) && !defined(FLAG_ZERO) && !defined(FLAG_NOINHERIT) #if defined(HAVE_MINHERIT) && !defined(FLAG_ZERO) && !defined(FLAG_NOINHERIT)
#warning "minherit() is defined, but we couldn't find the right flag for it." #warning "minherit() is defined, but FLAG_ZERO/NOINHERIT are not."
#warning "This is probably a bug in Tor's support for this platform." #warning "This is probably a bug in Tor's support for this platform."
#endif #endif