~ubuntu-branches/ubuntu/wily/libuser/wily

« back to all changes in this revision

Viewing changes to lib/misc.c

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Habouzit
  • Date: 2006-09-03 21:58:15 UTC
  • mto: (2.1.1 edgy) (1.1.5 upstream) (3.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20060903215815-rtvvfzhaer8ymyp4
Tags: upstream-0.54.6-2.1.dfsg.1
ImportĀ upstreamĀ versionĀ 0.54.6-2.1.dfsg.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
16
16
 */
17
17
 
18
 
#ident "$Id: misc.c,v 1.7 2005/09/12 23:24:37 mitr Exp $"
 
18
#ident "$Id: misc.c,v 1.8 2005/10/09 05:15:47 mitr Exp $"
19
19
 
20
20
#ifdef HAVE_CONFIG_H
21
21
#include "../config.h"
82
82
                g_value_init(value, G_TYPE_INT64);
83
83
                g_value_set_int64(value, id);
84
84
        }
85
 
        
86
85
}
87
86
 
88
87
id_t
149
148
lu_get_modules(struct lu_context *context)
150
149
{
151
150
        char *tmp = NULL, *ret = NULL;
152
 
        GValue *value;
153
151
        size_t i;
154
152
 
155
153
        for (i = 0; i < context->module_names->n_values; i++) {
 
154
                GValue *value;
 
155
 
156
156
                value = g_value_array_get_nth(context->module_names, i);
157
157
                if (tmp) {
158
158
                        char *p;