* Europagate, 1995
*
* $Log: urp.c,v $
- * Revision 1.44 1995/07/11 12:28:53 adam
+ * Revision 1.46 1995/07/28 10:51:09 adam
+ * Bug fix: account from previous session had effect when new target command
+ * was executed.
+ *
+ * Revision 1.45 1995/07/20 08:20:24 adam
+ * Minor changes.
+ *
+ * Revision 1.44 1995/07/11 12:28:53 adam
* New functions ccl_token_simple and ccl_token_del used.
*
* Revision 1.43 1995/07/11 11:49:13 adam
}
else
*info.account = '\0';
+ info.account_in_session = 1;
return 0;
}
len = list->len;
memcpy (info.target, list->name, len);
info.target [len] = '\0';
-
+
+ if (!info.account_in_session)
+ *info.account = '\0';
+ info.account_in_session = 0;
read_kernel_res ();
return reopen_target ();
}
const char *cp = str;
int no;
- while (*cp != ' ' && *cp != '\n' && *cp != '\t' && *cp != '\r')
+ while (*cp && *cp != ' ' && *cp != '\n' && *cp != '\t' && *cp != '\r')
cp++;
*stop_flag = 0;