running strsep_copy again, yield same result
authorLove Hörnquist Åstrand <lha@kth.se>
Fri, 27 Feb 2009 03:28:50 +0000 (03:28 +0000)
committerLove Hörnquist Åstrand <lha@kth.se>
Fri, 27 Feb 2009 03:28:50 +0000 (03:28 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24845 ec53bebd-3082-4978-b11e-865c3cabbd6b

lib/krb5/context.c

index 1cd617cfa68325024bd66bf715c772529912e8c5..ac5b363a94173828261f387750abf79b0757edc7 100644 (file)
@@ -548,7 +548,7 @@ krb5_prepend_config_files(const char *filelist, char **pq, char ***ret_pp)
            krb5_free_config_files(pp);
            return ENOMEM;
        }
-       l = strsep_copy(&p, ":", fn, l + 1);
+       (void)strsep_copy(&p, ":", fn, l + 1);
        ret = add_file(&pp, &len, fn);
        if (ret) {
            krb5_free_config_files(pp);