diff options
author | John Ankarström <john@ankarstrom.se> | 2022-02-17 03:11:42 +0100 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-02-17 03:11:42 +0100 |
commit | 447648c9db10167e5da4f0b431d7cfb878c5f807 (patch) | |
tree | 7d8b810b2b39dcfd377cd14f77deec19b3968eba /c/common.c | |
parent | b1a9967ea3b8dd6490ee24cb6ff4e809aa51eb3c (diff) | |
download | EpisodeBrowser-447648c9db10167e5da4f0b431d7cfb878c5f807.tar.gz |
Even more cleanup.
Diffstat (limited to 'c/common.c')
-rw-r--r-- | c/common.c | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -32,9 +32,15 @@ TszFromSz(const char *sz, int iCp) int Watched(int iEpisode) { + fid_t f; term_t t; + + F(f); t = T(1); - PI(t,iEpisode) return 0; - P("track_episodes","watched",1,t) return 0; + PI(t,iEpisode) goto f; + P("track_episodes","watched",1,t) goto f; + Fd(f); return 1; +f: Fd(f); + return 0; } |