X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/fee64929a32a6cd69c3a675adb86e28440af6a2b..6dd1782c42ed166c03ba5ac5a033cf1061167510:/flist.c diff --git a/flist.c b/flist.c index b333b5be..8a995000 100644 --- a/flist.c +++ b/flist.c @@ -187,7 +187,7 @@ void receive_file_entry_v11(struct file_struct *file, bzero((char *)file,sizeof(*file)); file->name = (char *)malloc(l1+l2+1); - if (!file->name) out_of_memory("receive_file_entry"); + if (!file->name) out_of_memory("receive_file_entry 1"); strncpy(file->name,lastname,l1); read_buf(f,file->name+l1,l2); @@ -207,7 +207,7 @@ void receive_file_entry_v11(struct file_struct *file, if (preserve_links && S_ISLNK(file->mode)) { int l = read_int(f); file->link = (char *)malloc(l+1); - if (!file->link) out_of_memory("receive_file_entry"); + if (!file->link) out_of_memory("receive_file_entry 2"); read_buf(f,file->link,l); file->link[l] = 0; }