Skip to content

Commit

Permalink
Make identation consistent to not upset Clang 10:
Browse files Browse the repository at this point in the history
parser/parse_privacy.c:161:2: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation]
  • Loading branch information
sobomax committed Oct 17, 2020
1 parent c20bb22 commit cb2ba2a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions parser/parse_privacy.c
Expand Up @@ -149,15 +149,15 @@ unsigned int parse_priv_value(char* start, unsigned int max_len,
*/
int parse_privacy(struct sip_msg *msg)
{
unsigned int val_len, value, values, len;
str next;
char *p, *beyond;
unsigned int val_len, value, values, len;
str next;
char *p, *beyond;

/* maybe the header is already parsed! */
if (msg->privacy && msg->privacy->parsed)
return 0;
/* maybe the header is already parsed! */
if (msg->privacy && msg->privacy->parsed)
return 0;

/* parse Privacy HF (there should be only one) */
/* parse Privacy HF (there should be only one) */
if (!msg->privacy &&
(parse_headers(msg, HDR_PRIVACY_F, 0) == -1 || !msg->privacy)) {
goto error;
Expand Down

0 comments on commit cb2ba2a

Please sign in to comment.