blob: be3ca7c1be3b474d4af5817038514ba4a247556e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- gnome-cups-add/snmpkit/snmpkit_interface.C.old 2004-06-09 00:02:09.333687136 -0400
+++ gnome-cups-add/snmpkit/snmpkit_interface.C 2004-06-09 00:02:59.839009160 -0400
@@ -508,7 +508,7 @@
void **sk_table_get(SNMPTABLE *st){
std::list<void*> vals;
from_c(st)->get(vals);
- void **retval=new (void*)[vals.size()+1];
+ void **retval=new void*[vals.size()+1];
retval[vals.size()]=NULL;
int i=0;
for(std::list<void*>::iterator cur=vals.begin();cur!=vals.end();cur++,i++)
|