Changeset 578e5b0 for lib/misc.c


Ignore:
Timestamp:
2015-05-14T16:08:06Z (9 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Children:
600e09c
Parents:
4225bec
Message:

Try to send settings as native types instead of always strings.

This is still ugly for most settings not owned by the plugin but that's
simply how this is implemented in BitlBee. Let's see how annoying and
painful this is really going to be.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/misc.c

    r4225bec r578e5b0  
    427427}
    428428
    429 int is_bool(char *value)
     429int is_bool(const char *value)
    430430{
    431431        if (*value == 0) {
     
    453453}
    454454
    455 int bool2int(char *value)
     455int bool2int(const char *value)
    456456{
    457457        int i;
Note: See TracChangeset for help on using the changeset viewer.