Inline the smaller string-handling functions
[exim.git] / src / src / dkim.c
index 96d7eba81468ce89b3fee2c2413ff4c780cb5fb4..715774c7e8228cd32c3cbb69ee0ad2a72660698e 100644 (file)
@@ -76,7 +76,7 @@ for (dns_record * rr = dns_next_rr(&dnsa, &dnss, RESET_ANSWERS);
     /* check if this looks like a DKIM record */
     if (Ustrncmp(g->s, "v=", 2) != 0 || strncasecmp(CS g->s, "v=dkim", 6) == 0)
       {
-      gstring_reset_unused(g);
+      gstring_release_unused(g);
       return string_from_gstring(g);
       }