瀏覽代碼

r18358@catbus: nickm | 2008-02-21 22:21:57 -0500
Remove extraneous commas in compat.c


svn:r13669

Nick Mathewson 17 年之前
父節點
當前提交
688b7ddf83
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/common/compat.c

+ 3 - 3
src/common/compat.c

@@ -779,7 +779,7 @@ set_max_file_descriptors(rlim_t limit, int *max_out)
 #ifdef MS_WINDOWS
 #ifdef MS_WINDOWS
   if (limit > DEFAULT_MAX_CONNECTIONS) {
   if (limit > DEFAULT_MAX_CONNECTIONS) {
     log_warn(LD_CONFIG,
     log_warn(LD_CONFIG,
-             "We do not support more than %lu file descriptors",
+             "We do not support more than %lu file descriptors"
              "on Windows. Tried to raise to %lu.",
              "on Windows. Tried to raise to %lu.",
              DEFAULT_MAX_CONNECTIONS, limit);
              DEFAULT_MAX_CONNECTIONS, limit);
     return -1;
     return -1;
@@ -787,7 +787,7 @@ set_max_file_descriptors(rlim_t limit, int *max_out)
   limit = DEFAULT_MAX_CONNECTIONS;
   limit = DEFAULT_MAX_CONNECTIONS;
 #elif defined(CYGWIN) || defined(__CYGWIN__)
 #elif defined(CYGWIN) || defined(__CYGWIN__)
   if (limit > CYGWIN_MAX_CONNECTIONS) {
   if (limit > CYGWIN_MAX_CONNECTIONS) {
-    log_warn(LD_CONFIG, "We do not support more than %lu file descriptors",
+    log_warn(LD_CONFIG, "We do not support more than %lu file descriptors"
              "when using Cygwin. Tried to raise to %lu.",
              "when using Cygwin. Tried to raise to %lu.",
              CYGWIN_MAX_CONNECTIONS, limit);
              CYGWIN_MAX_CONNECTIONS, limit);
     return -1;
     return -1;
@@ -795,7 +795,7 @@ set_max_file_descriptors(rlim_t limit, int *max_out)
   limit = CYGWIN_MAX_CONNECTIONS;
   limit = CYGWIN_MAX_CONNECTIONS;
 #elif defined(IPHONE)
 #elif defined(IPHONE)
   if (limit > IPHONE_MAX_CONNECTIONS) {
   if (limit > IPHONE_MAX_CONNECTIONS) {
-    log_warn(LD_CONFIG, "We do not support more than %lu file descriptors",
+    log_warn(LD_CONFIG, "We do not support more than %lu file descriptors"
              "on iPhone. Tried to raise to %lu.",
              "on iPhone. Tried to raise to %lu.",
              IPHONE_MAX_CONNECTIONS, limit);
              IPHONE_MAX_CONNECTIONS, limit);
     return -1;
     return -1;