]> granicus.if.org Git - pdns/commitdiff
whitespace
authorBert Hubert <bert.hubert@netherlabs.nl>
Thu, 1 Nov 2012 13:26:32 +0000 (13:26 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Thu, 1 Nov 2012 13:26:32 +0000 (13:26 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2842 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/packetcache.cc
pdns/qtype.cc

index 43f78ff5c9d3f7bf90404d2840953ce970065190..a9b029415f5d9ee06cabcd37924aaa218ce256a2 100644 (file)
@@ -27,7 +27,7 @@ extern StatBag S;
 
 PacketCache::PacketCache()
 {
-  pthread_rwlock_init(&d_mut,0);
+  pthread_rwlock_init(&d_mut, 0);
   // d_ops = 0;
 
   d_ttl=-1;
index e8e2519d82c88f277c5bae783442037bdcf1f061..35d422b65d8395be9cc4c8b6c6bef235bcf10f7f 100644 (file)
@@ -60,8 +60,8 @@ int QType::chartocode(const char *p)
 {
   static QType qt;
   vector<namenum>::iterator pos;
-  for(pos=names.begin();pos<names.end();++pos)
-    if(pos->first==p)
+  for(pos=names.begin(); pos < names.end(); ++pos)
+    if(pos->first == p)
       return pos->second;
   
   if(*p=='#') {