Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix error on variable name
authorPierre Veyre <pierre.veyre@cc.in2p3.fr>
Tue, 8 Oct 2013 19:49:29 +0000 (21:49 +0200)
committerPierre Veyre <pierre.veyre@cc.in2p3.fr>
Tue, 8 Oct 2013 19:49:29 +0000 (21:49 +0200)
src/surf/storage.c

index 0f28e4f..5369136 100644 (file)
@@ -215,7 +215,7 @@ static xbt_dict_t storage_get_content(void *storage)
   char *file;
   sg_storage_size_t *psize;
 
-  xbt_dict_foreach(((storage_t)st)->content, cursor, file, psize){
+  xbt_dict_foreach(((storage_t)storage_resource)->content, cursor, file, psize){
     xbt_dict_set(content_dict,file,psize,NULL);
   }
   return content_dict;