Changeset a99c3e6408f9f0e517630f3c134614bbfa1dd11d

Show
Ignore:
Timestamp:
11/13/10 15:49:38 (3 years ago)
Author:
Nedko Arnaudov <nedko@…>
Children:
4b9da6ffae7c51ff2de6ea04f284b37b03a726fb
Parents:
0ff72305dba13e5205a89e8cd9407fa2253ad718
git-committer:
Nedko Arnaudov <nedko@arnaudov.name> / 2010-11-13T15:49:38Z+0200
Message:

ladishd: remove unneeded asignment

unescape() receives length that includes the terminating nul char

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • daemon/room_load.c

    r04b2b17 ra99c3e6  
    111111    } 
    112112 
    113     room_ptr->project_name[unescape(name, len, room_ptr->project_name)] = 0; 
     113    unescape(name, len, room_ptr->project_name); 
    114114 
    115115    log_info("Project '%s' with uuid %s", room_ptr->project_name, uuid_str); 
     
    797797      } 
    798798 
    799       context_ptr->str[unescape(name, len, context_ptr->str)] = 0; 
     799      unescape(name, len, context_ptr->str); 
    800800    } 
    801801