Skip to content
Snippets Groups Projects
Commit 475d29b8 authored by rswindell's avatar rswindell
Browse files

attachment() removes BUNDLES.SBE if empty (0-length).

parent dfa39195
No related branches found
No related tags found
No related merge requests found
...@@ -1541,6 +1541,8 @@ int attachment(char *bundlename,faddr_t dest, int mode) ...@@ -1541,6 +1541,8 @@ int attachment(char *bundlename,faddr_t dest, int mode)
} }
} }
fclose(stream); fclose(stream);
if(!flength(fname))
remove(fname);
return(0); return(0);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment