[Box Backup-commit] COMMIT r3226 - box/trunk/lib/server

subversion at boxbackup.org subversion at boxbackup.org
Fri Feb 7 22:23:23 GMT 2014


Author: chris
Date: 2014-02-07 22:23:22 +0000 (Fri, 07 Feb 2014)
New Revision: 3226

Modified:
   box/trunk/lib/server/makeprotocol.pl.in
Log:
Don't write #include statements for empty filenames.

Modified: box/trunk/lib/server/makeprotocol.pl.in
===================================================================
--- box/trunk/lib/server/makeprotocol.pl.in	2014-02-07 22:06:23 UTC (rev 3225)
+++ box/trunk/lib/server/makeprotocol.pl.in	2014-02-07 22:23:22 UTC (rev 3226)
@@ -78,7 +78,7 @@
 	my ($protocol_name, $cpp_name, $header_file) = split /\s+/,$_[0];
 	
 	$translate_type_info{$protocol_name} = [0, $cpp_name];
-	push @extra_header_files, $header_file;
+	push @extra_header_files, $header_file if $header_file;
 }
 
 # check attributes




More information about the Boxbackup-commit mailing list