[srm-cvs] CVS Update: - Use reference mechanism instead of kludge with removing an element

From: <d.rethans[@]jdimedia.nl>
Date: Sat Feb 23 2002 - 18:04:32 CET

Date: Sat Feb 23 18:04:32 CET 2002
User: Derick Rethans
Directory: srm/main/src

Log Message:
 [0.25]
 - Use reference mechanism instead of kludge with removing an element
 
Modified files:
           srm/main/src/storage.c (version: 1.18)

[FILE: /srm/main/src/storage.c]

--- srm/main/src/storage.c:1.17 Mon Feb 11 04:02:02 2002 GMT
+++ srm/main/src/storage.c Sat Feb 23 16:04:32 2002 GMT
@@ -1,4 +1,4 @@
-/* $Id: cvstemp,v 1.17 2002/02/11 05:02:02 sniper Exp $ */
+/* $Id: cvstemp,v 1.18 2002/02/23 17:04:32 derick Exp $ */
 
 /* The contents of this file are subject to the Apache Free Software
  * License 1.1 (the "License"); you may not use this file
@@ -38,7 +38,7 @@
         serialize (params, (srm_ui8**) &packet_d, &size);
         clientlib_send_packet (connect_data, PKT_STORE_DATA, size, packet_d);
 
- srm_llist_remove(params_ll, SRM_LLIST_TAIL (params_ll), (void *) NULL);
+ data->ref_count++;
         free (packet_d);
         SRM_LIST_FREE (params);
 
Received on Sat Feb 23 18:04:45 2002

This archive was generated by hypermail 2.1.8 : Tue Jan 06 2009 - 10:00:03 CET