summaryrefslogtreecommitdiffabout
path: root/src/verify.c
Side-by-side diff
Diffstat (limited to 'src/verify.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/verify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/verify.c b/src/verify.c
index a49983c..c8fef11 100644
--- a/src/verify.c
+++ b/src/verify.c
@@ -104,25 +104,25 @@ fill_project_name (struct file_triplet *trp)
trp->file[file_directive].name);
return 1;
}
fp = fopen (trp->file[file_directive].name, "r");
if (!fp)
{
logmsg (LOG_ERR, _("cannot open file %s: %s"),
trp->file[file_directive].name, strerror (errno));
return 1;
}
- blurb = xmalloc (size + 1);
+ blurb = grecs_malloc (size + 1);
rc = fread (blurb, size, 1, fp);
fclose (fp);
if (rc != 1)
{
logmsg (LOG_ERR, _("error reading file %s: %s"),
trp->file[file_directive].name, strerror (errno));
free (blurb);
return 1;
}
@@ -173,25 +173,25 @@ fill_project_name (struct file_triplet *trp)
txtacc_1grow (trp->acc, 0);
trp->project = txtacc_finish (trp->acc, 0);
}
else
trp->project = trp->relative_dir;
return 0;
}
struct uploader_info *
new_uploader_info (struct uploader_info *src)
{
- struct uploader_info *p = xmalloc (sizeof (*p));
+ struct uploader_info *p = grecs_malloc (sizeof (*p));
p->next = NULL;
p->name = src->name;
p->realname = src->realname;
p->gpg_key = src->gpg_key;
p->email = src->email;
p->fpr = NULL;
return p;
}
struct uploader_info *
uploader_find_frp (struct uploader_info *list, const char *fpr)
{

Return to:

Send suggestions and report system problems to the System administrator.