diff options
| author | Sam Varshavchik | 2015-05-12 07:01:14 -0400 | 
|---|---|---|
| committer | Sam Varshavchik | 2015-05-12 07:01:14 -0400 | 
| commit | 88e64590c753a109f263186706b6458e486a7c14 (patch) | |
| tree | 531111fb6a8263d129ecf1ffc175ea889935ae6d /sqwebmail | |
| parent | 8d6706a7f2417b81aa132e551548246bfd06aedf (diff) | |
| download | courier-libs-88e64590c753a109f263186706b6458e486a7c14.tar.bz2 | |
Fix compiler warnings
Diffstat (limited to 'sqwebmail')
| -rw-r--r-- | sqwebmail/ChangeLog | 4 | ||||
| -rw-r--r-- | sqwebmail/pcp.c | 2 | ||||
| -rw-r--r-- | sqwebmail/sqwebmail.c | 2 | 
3 files changed, 6 insertions, 2 deletions
| diff --git a/sqwebmail/ChangeLog b/sqwebmail/ChangeLog index 7891515..6f81115 100644 --- a/sqwebmail/ChangeLog +++ b/sqwebmail/ChangeLog @@ -1,3 +1,7 @@ +2015-05-12  "Hanno Böck" <hanno@hboeck.de> + +	* Fix gcc warnings. +  5.8.2  2015-04-25  Giovanni Bechis <giovanni@openbsd.org> diff --git a/sqwebmail/pcp.c b/sqwebmail/pcp.c index e10dd4d..824aa89 100644 --- a/sqwebmail/pcp.c +++ b/sqwebmail/pcp.c @@ -1518,7 +1518,7 @@ static void show_conflict_error(struct PCP *pcp)  			printf("</span></td><td width=\"30\"> </td><td width=\"100%%\"><span class=\"tt\">");  			if (p->address && strcmp(p->address, "@"))  			{ -				printf(getarg("CONFLICTERR2")); +				printf("%s", getarg("CONFLICTERR2"));  				print_safe(p->address);  			}  			else diff --git a/sqwebmail/sqwebmail.c b/sqwebmail/sqwebmail.c index 8c4cfe1..91c1013 100644 --- a/sqwebmail/sqwebmail.c +++ b/sqwebmail/sqwebmail.c @@ -1097,7 +1097,7 @@ static void do_output_form_loop(FILE *f)  				c=strchr(c, '.');  				if (c)  				{ -					printf(sep); +					printf("%s", sep);  					print_safe(c+1);  				}  			} | 
