mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed compiler warning
SVN revision: 868
This commit is contained in:
parent
2adc326176
commit
0aa13623cd
@ -6,6 +6,9 @@
|
||||
Contents: Web server program for Electronic Logbook ELOG
|
||||
|
||||
$Log$
|
||||
Revision 1.321 2004/05/05 15:26:04 midas
|
||||
Fixed compiler warning
|
||||
|
||||
Revision 1.320 2004/05/05 15:24:45 midas
|
||||
Changed redirection to absolute location
|
||||
|
||||
@ -12188,7 +12191,7 @@ void show_elog_list(LOGBOOK * lbs, INT past_n, INT last_n, INT page_n, char *inf
|
||||
/* remove param from lastcmd if present */
|
||||
if ((pt1 = strstr(_cmdline, "lastcmd=")) != NULL) {
|
||||
sprintf(str, "%s%%3D", param);
|
||||
if (pt1 = strstr(_cmdline, str)) {
|
||||
if ((pt1 = strstr(_cmdline, str)) != NULL) {
|
||||
pt2 = pt1 + strlen(str);
|
||||
while (*pt2 && *pt2 != '%')
|
||||
pt2++;
|
||||
@ -12211,7 +12214,7 @@ void show_elog_list(LOGBOOK * lbs, INT past_n, INT last_n, INT page_n, char *inf
|
||||
/* remove param from lastcmd if present */
|
||||
if ((pt1 = strstr(_cmdline, "lastcmd=")) != NULL) {
|
||||
sprintf(str, "%s%%3D", param);
|
||||
if (pt1 = strstr(_cmdline, str)) {
|
||||
if ((pt1 = strstr(_cmdline, str)) != NULL) {
|
||||
pt2 = pt1 + strlen(str);
|
||||
while (*pt2 && *pt2 != '%' && *pt2 != '&')
|
||||
pt2++;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user