Mercurial > masqmail-0.2
changeset 38:ac0233b5f6f8
removed trigraph warning
author | meillo@marmaro.de |
---|---|
date | Mon, 10 May 2010 10:57:23 +0200 |
parents | 4fee89792559 |
children | a3476e422865 |
files | src/queue.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/queue.c Mon May 10 10:39:28 2010 +0200 +++ b/src/queue.c Mon May 10 10:57:23 2010 +0200 @@ -48,7 +48,9 @@ gchar *pattern; int i, *idx_arr; - pattern = g_strdup_printf("%s/input/??????-???-??-H", conf.spool_dir); + /* Escaping the question marks prevents them from being + interpreted as trigraphs */ + pattern = g_strdup_printf("%s/input/?????\?-??\?-?\?-H", conf.spool_dir); gl.gl_offs = 0; glob(pattern, 0, NULL, &gl);