Changeset 12294d2 for zephyr.c


Ignore:
Timestamp:
Jun 25, 2011, 3:26:15 AM (10 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
fc8a87a
Parents:
6829afc
git-author:
David Benjamin <davidben@mit.edu> (03/10/11 12:12:21)
git-committer:
David Benjamin <davidben@mit.edu> (06/25/11 03:26:15)
Message:
Remove owl_list from owl_zwrite

Use a GPtrArray directly.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zephyr.c

    r6829afc r12294d2  
    838838      zw.opcode = g_strdup(retnotice->z_opcode);
    839839      zw.zsig   = g_strdup("");
    840       owl_list_create(&(zw.recips));
    841       owl_list_append_element(&(zw.recips), g_strdup(retnotice->z_recipient));
     840      zw.recips = g_ptr_array_new();
     841      g_ptr_array_add(zw.recips, g_strdup(retnotice->z_recipient));
    842842
    843843      owl_log_outgoing_zephyr_error(&zw, buff);
Note: See TracChangeset for help on using the changeset viewer.