svn commit: samba r16677 - in trunk/source/libsmb: .

vlendec at samba.org vlendec at samba.org
Thu Jun 29 17:02:08 GMT 2006


Author: vlendec
Date: 2006-06-29 17:02:08 +0000 (Thu, 29 Jun 2006)
New Revision: 16677

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16677

Log:
Jeremy, that's the kind of stuff you get when enabling -Wc++-compat. 847 of
those warnings :-)

Volker

Modified:
   trunk/source/libsmb/clirap2.c


Changeset:
Modified: trunk/source/libsmb/clirap2.c
===================================================================
--- trunk/source/libsmb/clirap2.c	2006-06-29 16:34:15 UTC (rev 16676)
+++ trunk/source/libsmb/clirap2.c	2006-06-29 17:02:08 UTC (rev 16677)
@@ -220,7 +220,7 @@
   /* Allocate data. */
   data_size = MAX(soffset + strlen(grinfo->comment) + 1, 1024);
 
-  data = SMB_MALLOC(data_size);
+  data = SMB_MALLOC_ARRAY(char, data_size);
   if (!data) {
     DEBUG (1, ("Malloc fail\n"));
     return -1;



More information about the samba-cvs mailing list