]> git.proxmox.com Git - mirror_frr.git/commit - lib/command.h
2005-01-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
authorajs <ajs>
Fri, 28 Jan 2005 20:28:35 +0000 (20:28 +0000)
committerajs <ajs>
Fri, 28 Jan 2005 20:28:35 +0000 (20:28 +0000)
commitf6834d4c4031276361465dd19ef1918e239566c8
tree67e9eb194ce4cef74654a888c0e165febc0010d2
parent8bfb0cba005b37c7b125fe2a34f1819e85d9f59c
2005-01-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* lib/command.h: Document behavior of argv_concat function.
* lib/command.c: (argv_concat) Calculate total string length first so
  we can call malloc just once (instead of realloc'ing to add each
  string element).
  (do_echo,config_logmsg) Allow for possible NULL return value from
  argv_concat.
lib/ChangeLog
lib/command.c
lib/command.h