git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
More abstraction of the gstring API
[exim.git]
/
src
/
src
/
readconf.c
diff --git
a/src/src/readconf.c
b/src/src/readconf.c
index 48b648bb25871162ab907d00dfbc46415c87536e..6dba11ca1b29cb1c62e7d744aa7cbaa6ddd44fc9 100644
(file)
--- a/
src/src/readconf.c
+++ b/
src/src/readconf.c
@@
-3219,7
+3219,7
@@
if (config_file)
g = string_cat(NULL, buf);
/* If the dir does not end with a "/", append one */
- if (g
->s[g->ptr-1]
!= '/')
+ if (g
string_last_char(g)
!= '/')
g = string_catn(g, US"/", 1);
/* If the config file contains a "/", extract the directory part */