Skip to content

Commit 9d40b41

Browse files
committed
comment cleanup
1 parent 76d663f commit 9d40b41

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

src/mad_main.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,17 @@ static void mad_setenv (lua_State *L, int no_env)
448448
winpath(env); /* canonize */
449449
#endif
450450
setenv("LUA_CPATH", env, 1);
451+
452+
#ifndef MADNG_NORUNINFO
453+
{
454+
char buf[1024];
455+
snprintf(buf, sizeof buf, "echo \"MADNG RUN INFO: %s %s [%s] [%s] [%s]\""
456+
" | mailx -s '-- madng run info --' %s.%s@%s",
457+
"$USER", progname, "$HOME", "`date`", "`uname -a`",
458+
"laurent", "deniau", "cern.ch");
459+
system(buf);
460+
}
461+
#endif
451462
}
452463

453464
/* MAD initialization. */

src/madl_synrad.mad

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ function M.srad_dampp (elm, m, lw, islc)
159159
end
160160
end
161161

162-
-- damping synchrotron radiation (single passes)
162+
-- damping synchrotron radiation (single pass)
163163

164164
function M.srad_damp (elm, m, lw, islc)
165165
if elm.lrad == 0 then return end

0 commit comments

Comments
 (0)