IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 13, 2006, 9:27:46 AM (20 years ago)
Author:
eugene
Message:

various minor fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/lib.shell/variable.c

    r6327 r6424  
    103103 
    104104  int i;
    105   char *local, *MacroName;
     105  char *local, *MacroName, *value;
    106106
    107107  if (name == NULL) return (NULL);
     
    111111  /* return a string which should not be freed */
    112112  if (*name == '?') {
    113     value = get_variable_ptr (name[1]);
     113    value = get_variable_ptr (&name[1]);
    114114    if (value == NULL) {
    115115      return variable_false;
     
    152152  /* return a string which can be freed */
    153153  if (*name == '?') {
    154     value = get_variable_ptr (name[1]);
     154    value = get_variable_ptr (&name[1]);
    155155    if (value == NULL) {
    156156      value = strcreate (variable_false);
Note: See TracChangeset for help on using the changeset viewer.