1
0
Fork 0

minor fix

This commit is contained in:
bagyenda 2010-11-16 11:35:02 +00:00
parent e104515d9b
commit 7c777cd10f
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,5 @@
2010-11-16 P. A. Bagyenda <bagyenda@dsmagic.com>
* Minor bug fix, patch from Vincent Chavanis <v.chavanis at telemaque.fr>
2010-11-05 P. A. Bagyenda <bagyenda@dsmagic.com>
* Better event callback info (MM7 headers, etc)
2010-11-04 P. A. Bagyenda <bagyenda@dsmagic.com>

View File

@ -656,6 +656,8 @@ static int writemmsdata(Octstr *ms, char *df, char subdir[], char *mms_queuedir)
Octstr *dfname;
int fd, n, res = 0;
if (ms == NULL)
return 0;
dfname = octstr_format("%s/%s%s", mms_queuedir, subdir, df);