]> git.marmaro.de Git - mmh/blobdiff - sbr/seq_setprev.c
Replace getcpy() and strdup() with mh_xstrdup()
[mmh] / sbr / seq_setprev.c
index aecbea6beca0095cd325fa01db90d253c861cf61..f4304cc523ca2e36e7033361e7bdd059f16192af 100644 (file)
@@ -27,7 +27,7 @@ seq_setprev(struct msgs *mp)
        ** and split them.
        */
        if ((cp = context_find(psequence))) {
-               dp = getcpy(cp);
+               dp = mh_xstrdup(cp);
                if (!(ap = brkstring(dp, " ", "\n")) || !*ap) {
                        mh_free0(&dp);
                        return;