diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-09-08 16:48:07 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-09-08 16:48:07 +0000 |
commit | 2be6d9d7c174007ac0018fed802364d2115f0283 (patch) | |
tree | 32674bc8c5dc21153e7c8a4548f6641aef0566bf /pbx/pbx_spool.c | |
parent | ee8cba2208114438d40442616149adf12cc422c2 (diff) |
BSD portability enhancements (bug #234)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1486 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx/pbx_spool.c')
-rwxr-xr-x | pbx/pbx_spool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx/pbx_spool.c b/pbx/pbx_spool.c index 3c256956f..d51c17e9c 100755 --- a/pbx/pbx_spool.c +++ b/pbx/pbx_spool.c @@ -243,7 +243,7 @@ static int scan_service(char *fn, time_t now, time_t atime) if (o->retries <= o->maxretries + 1) { /* Add a retry line at the end */ fseek(f, 0L, SEEK_END); - fprintf(f, "Retry: %d (%ld)\n", o->retries, now); + fprintf(f, "Retry: %d (%ld)\n", o->retries, (long) now); fclose(f); now += o->retrytime; launch_service(o); |