diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2007-05-22 16:55:56 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2007-05-22 16:55:56 +0000 |
| commit | 8eeeac71928919fa5e4fb0c1c389fa229637bea3 (patch) | |
| tree | 22f3749ff27920644a925427ea7d5b0deef7b135 /src/common.h | |
| parent | ad7078db28a19c5206bd7c9a2d9c00c725b40354 (diff) | |
2007-05-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Change file mode to 666:
* src/common.h (OPEN_MODE): New definition.
* src/File.cc
* src/Util.cc
* src/Directry.cc
* src/AbstractDiskWriter.cc
Change the level of log message "download aborted" to debug:
* src/PeerAbstractCommand.cc (execute)
* src/RequestGroup.h (RequestGroup): Initialized
_hintTotalLength to 0.
* src/TrackerWatcherCommand.cc
(createCommand): Sleep some seconds after request failed.
If tracker request fails more than value of
PREF_TRACKER_MAX_TRIES,
then abort tracker request.
Diffstat (limited to 'src/common.h')
| -rw-r--r-- | src/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h index 58aace3c..ce6a63ab 100644 --- a/src/common.h +++ b/src/common.h @@ -78,4 +78,6 @@ public: typedef deque<string> Strings; typedef deque<int32_t> Integers; +#define OPEN_MODE S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH + #endif // _D_COMMON_H_ |
