File: daemon_noverbose.dpatch

package info (click to toggle)
stun 0.96.dfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 380 kB
  • ctags: 293
  • sloc: cpp: 3,674; sh: 149; makefile: 84
file content (20 lines) | stat: -rw-r--r-- 575 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /bin/sh /usr/share/dpatch/dpatch-run
## daemon_noverbose.dpatch by Kilian Krause <kilian@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad stun-0.96~/server.cxx stun-0.96/server.cxx
--- stun-0.96~/server.cxx	2005-08-13 20:19:29.000000000 +0000
+++ stun-0.96/server.cxx	2006-01-04 14:18:02.000000000 +0000
@@ -223,7 +223,8 @@
          c++;
          if ( c%1000 == 0 ) 
          {
-            clog << "*";
+	    if ( verbose )
+	       clog << "*";
          }
       }
       // Notreached