projects
/
platform
/
core
/
messaging
/
email-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae589a1
)
fix defect for rand function
13/74313/1
accepted/tizen/common/20160614.144006
accepted/tizen/ivi/20160614.103636
accepted/tizen/mobile/20160614.103601
accepted/tizen/wearable/20160614.103613
submit/tizen/20160614.051728
author
intae, jeon
<intae.jeon@samsung.com>
Tue, 14 Jun 2016 00:07:03 +0000
(09:07 +0900)
committer
intae, jeon
<intae.jeon@samsung.com>
Tue, 14 Jun 2016 00:07:03 +0000
(09:07 +0900)
Change-Id: I30ceb019985144219483738fdd02c4462a674b1c
Signed-off-by: intae, jeon <intae.jeon@samsung.com>
email-core/email-core-smtp.c
patch
|
blob
|
history
diff --git
a/email-core/email-core-smtp.c
b/email-core/email-core-smtp.c
index
324b8e5
..
72bc1ed
100755
(executable)
--- a/
email-core/email-core-smtp.c
+++ b/
email-core/email-core-smtp.c
@@
-2872,7
+2872,7
@@
char *emcore_generate_content_id_string(const char *hostname, int *err)
int cid_length = RANDOM_NUMBER_LENGTH + EM_SAFE_STRLEN(hostname) + 2, random_number_1, random_number_2, random_number_3, random_number_4;
char *cid_string = NULL;
- unsigned int seed =
time(NULL
);
+ unsigned int seed =
clock(
);
cid_string = malloc(cid_length);
if (!cid_string) {