2006-07-31 Robert Love <rml@novell.com>

* src/backends/interface_parser.c: Declarations must begin the block.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1902 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Robert Love 2006-07-31 17:00:59 +00:00 committed by Robert Love
parent 3a82e779d2
commit a09b9f71ec
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2006-07-31 Robert Love <rml@novell.com>
* src/backends/interface_parser.c: Declarations must begin the block.
2006-07-24 Dan Williams <dcbw@redhat.com>
Patch from Timothée Lecomte <timothee.lecomte@ens.fr>

View file

@ -50,11 +50,13 @@ void add_block(const char *type, const char* name)
void add_data(const char *key,const char *data)
{
if_data *ret;
// Check if there is a block where we can attach our data
if (first == NULL)
return;
if_data *ret = (if_data*)calloc(1,sizeof(struct _if_data));
ret = (if_data*) calloc(1,sizeof(struct _if_data));
ret->key = g_strdup(key);
ret->data = g_strdup(data);