~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.cc

  • Committer: Eric Herman
  • Date: 2008-12-06 19:42:46 UTC
  • mto: (656.1.6 devel)
  • mto: This revision was merged to the branch mainline in revision 665.
  • Revision ID: eric@mysql.com-20081206194246-5cdexuu81i366eek
removed trailing whitespace with simple script:

for file in $(find . -name "*.c") $(find . -name "*.cc") $(find . -name "*.h"); do ruby -pe 'gsub(/\s+$/, $/)' < $file > $file.out; mv $file.out $file; done;

Show diffs side-by-side

added added

removed removed

Lines of Context:
434
434
                LOCK_global_read_lock,
435
435
                LOCK_error_log,
436
436
                LOCK_global_system_variables,
437
 
                LOCK_slave_list, 
 
437
                LOCK_slave_list,
438
438
                LOCK_active_mi,
439
439
                LOCK_connection_count;
440
440
 
1091
1091
      int flags =1;
1092
1092
 
1093
1093
#ifdef IPV6_V6ONLY
1094
 
      if (next->ai_family == AF_INET6) 
 
1094
      if (next->ai_family == AF_INET6)
1095
1095
      {
1096
1096
        error= setsockopt(ip_sock, IPPROTO_IPV6, IPV6_V6ONLY, (char *) &flags, sizeof(flags));
1097
1097
        if (error != 0)
1100
1100
          assert(error == 0);
1101
1101
        }
1102
1102
      }
1103
 
#endif   
 
1103
#endif
1104
1104
      error= setsockopt(ip_sock, SOL_SOCKET, SO_REUSEADDR, (char*)&flags, sizeof(flags));
1105
1105
      if (error != 0)
1106
1106
      {