1
0
Fork 0

Removed hard-coded reference to /tmp/ directory.

This commit is contained in:
bagyenda 2005-05-27 10:09:18 +00:00
parent a52b301e16
commit d921d00ae8
2 changed files with 2 additions and 4 deletions

View File

@ -617,8 +617,7 @@ static void remove_object(MIMEEntity *m, Octstr *ctype)
static void mktmpfname(char fname[]) static void mktmpfname(char fname[])
{ {
/* We are not parameterising tmp dir yet. */ tmpname(fname);
sprintf(fname, "/tmp/t%ld.%ld.%ld", random(), (long)getpid(), (long)time(NULL));
} }
static Octstr *mknewname(Octstr *oldname, char *ext) static Octstr *mknewname(Octstr *oldname, char *ext)

View File

@ -1,9 +1,8 @@
- correct handling of sender-visibility flag when receiving message (and also use correct address for billing. no spoofing). - correct handling of sender-visibility flag when receiving message (and also use correct address for billing. no spoofing).
- In content adaptation: Colour depth adjustment - In content adaptation: Colour depth adjustment
- Need to parameterise some values: tmp dir, response messages (say on failed content adaptation) - Need to parameterise some values: response messages (say on failed content adaptation)
- Test suite - Test suite
- Correct handling of unrecognised mms headers. spec says pass them un-changed. - Correct handling of unrecognised mms headers. spec says pass them un-changed.
- Queue module needs to be de-coupled slightly from storage, so that mmsproxy can run on a separate box - Queue module needs to be de-coupled slightly from storage, so that mmsproxy can run on a separate box
but be able to initiate queue writes/reads over network. Hence pieces can run on separate boxes but be able to initiate queue writes/reads over network. Hence pieces can run on separate boxes
(with mmsrelay providing network service for queue functions) (with mmsrelay providing network service for queue functions)