Browse Source

Fix another printf related warning

Nils Maier 10 năm trước cách đây
mục cha
commit
e0812d5ad1
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      src/Context.cc

+ 1 - 2
src/Context.cc

@@ -134,8 +134,7 @@ void showFiles
         } else
 #endif // ENABLE_METALINK
           {
-            printf(MSG_NOT_TORRENT_METALINK);
-            printf("\n\n");
+            printf("%s\n\n", MSG_NOT_TORRENT_METALINK);
           }
     } catch(RecoverableException& e) {
       global::cout()->printf("%s\n", e.stackTrace().c_str());