Ignore:
Timestamp:
Nov 22, 2009, 3:06:26 PM (12 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Moved help code to help.c
  • Fixed bad string handling in configuration
File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/src/configuration.c

    r3997 r3998  
    344344        if (c)
    345345        {
    346             printf("Found config '%s', ptr %p\n", c->name, c->func_ptr);
    347346            c->func_ptr(option->value, screen_list);
    348347        }
     
    439438int set_socket_dir(const char *argv, struct screen_list *screen_list)
    440439{
    441     screen_list->socket_dir = argv;
     440    screen_list->socket_dir = strdup(argv);
    442441        return 0;
    443442}
Note: See TracChangeset for help on using the changeset viewer.