summaryrefslogtreecommitdiff
path: root/gmime/gmime-param.c
diff options
context:
space:
mode:
Diffstat (limited to 'gmime/gmime-param.c')
-rw-r--r--gmime/gmime-param.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gmime/gmime-param.c b/gmime/gmime-param.c
index 496ef0d..62f2293 100644
--- a/gmime/gmime-param.c
+++ b/gmime/gmime-param.c
@@ -1,6 +1,6 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/* GMime
- * Copyright (C) 2000-2012 Jeffrey Stedfast
+ * Copyright (C) 2000-2014 Jeffrey Stedfast
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
@@ -46,7 +46,6 @@
#define d(x)
-
/**
* SECTION: gmime-param
* @title: GMimeParam
@@ -397,7 +396,7 @@ rfc2184_param_charset (const char **in, char **langp)
if (langp)
*langp = NULL;
- while (*inptr != '\0' && *inptr != '\'')
+ while (*inptr && *inptr != '\'')
inptr++;
if (*inptr != '\'')
@@ -409,7 +408,7 @@ rfc2184_param_charset (const char **in, char **langp)
charset[len] = '\0';
lang = ++inptr;
- while (*inptr != '\0' && *inptr != '\'')
+ while (*inptr && *inptr != '\'')
inptr++;
if (*inptr == '\'') {