[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r12345: Space fixes. (in tor/trunk: . src/common src/or)
Author: nickm
Date: 2007-11-02 13:16:34 -0400 (Fri, 02 Nov 2007)
New Revision: 12345
Modified:
tor/trunk/
tor/trunk/src/common/compat.c
tor/trunk/src/or/routerlist.c
tor/trunk/src/or/routerparse.c
Log:
r16367@catbus: nickm | 2007-11-02 13:13:15 -0400
Space fixes.
Property changes on: tor/trunk
___________________________________________________________________
svk:merge ticket from /tor/trunk [r16367] on 8246c3cf-6607-4228-993b-4d95d33730f1
Modified: tor/trunk/src/common/compat.c
===================================================================
--- tor/trunk/src/common/compat.c 2007-11-02 16:23:50 UTC (rev 12344)
+++ tor/trunk/src/common/compat.c 2007-11-02 17:16:34 UTC (rev 12345)
@@ -737,7 +737,7 @@
}
#endif
if (bad) {
- log_warn(LD_CONFIG, "Couldn't set maximum number of file descriptors: %s",
+ log_warn(LD_CONFIG,"Couldn't set maximum number of file descriptors: %s",
strerror(errno));
return -1;
}
Modified: tor/trunk/src/or/routerlist.c
===================================================================
--- tor/trunk/src/or/routerlist.c 2007-11-02 16:23:50 UTC (rev 12344)
+++ tor/trunk/src/or/routerlist.c 2007-11-02 17:16:34 UTC (rev 12345)
@@ -3895,17 +3895,17 @@
if (!consensus) {
if (!networkstatus_get_latest_consensus())
strlcpy(dir_info_status, "We have no network-status document.",
- sizeof(dir_info_status));
+ sizeof(dir_info_status));
else
strlcpy(dir_info_status, "We have no recent network-status document.",
- sizeof(dir_info_status));
+ sizeof(dir_info_status));
res = 0;
goto done;
}
if (should_delay_dir_fetches(get_options())) {
log_notice(LD_DIR, "no known bridge descriptors running yet; stalling");
- strlcpy(dir_info_status, "No bridge descriptors.", sizeof(dir_info_status));
+ strlcpy(dir_info_status, "No bridge descriptors.",sizeof(dir_info_status));
res = 0;
goto done;
}
Modified: tor/trunk/src/or/routerparse.c
===================================================================
--- tor/trunk/src/or/routerparse.c 2007-11-02 16:23:50 UTC (rev 12344)
+++ tor/trunk/src/or/routerparse.c 2007-11-02 17:16:34 UTC (rev 12345)
@@ -3309,7 +3309,7 @@
* valid numbers. -KL */
/* As above, increased version numbers are for
* non-backward-compatible changes. This code doesn't know how to
- * parse a v3 descriptor, because a v3 descriptor is by definitition not
+ * parse a v3 descriptor, because a v3 descriptor is by definitition not
* compatible with this code. */
version = atoi(smartlist_get(versions, i));
result->protocols |= 1 << version;