~ubuntu-branches/ubuntu/precise/sitecopy/precise

« back to all changes in this revision

Viewing changes to src/sites.c

  • Committer: Bazaar Package Importer
  • Author(s): Sandro Tosi
  • Date: 2008-07-22 07:31:05 UTC
  • mfrom: (1.1.4 upstream) (4.1.7 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080722073105-cbqs1hnc2wvqejfd
Tags: 1:0.16.6-1
* New upstream release
  - fix a crash with progress bar enabled; Closes: #486378
* debian/control
  - set myself as maintainer, Kartik as uploader
  - set Vcs-{Browser,Git} fields
  - bump Standards-Version to 3.8.0
    + debian/README.source added
  - added DM-Upload-Allowed flag
* debian/patches/05_libneon27_transition.dpatch
  - removed since merged upstream
* debian/copyrightdebian/copyright
  - updated upstream email and copyright years
* debian/patches/10_bts410703_preserve_storage_files_sigint.dpatch
  - added to preserve storage files if SIGINT (Ctrl+C) is sent to sitecopy;
    thanks to Andreas Henriksson for the patch; Closes: #410703

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* 
2
2
   sitecopy, for managing remote web sites.
3
 
   Copyright (C) 1998-2006, Joe Orton <joe@manyfish.co.uk>
 
3
   Copyright (C) 1998-2008, Joe Orton <joe@manyfish.co.uk>
4
4
                                                                     
5
5
   This program is free software; you can redistribute it and/or modify
6
6
   it under the terms of the GNU General Public License as published by
768
768
 
769
769
/* Initial size of directory stack, and amount it grows
770
770
 * each time we fill it. */
771
 
#define DIRSTACKSIZE 128
 
771
#define DIRSTACKSIZE (1024)
772
772
 
773
773
void site_read_local_state(struct site *site)
774
774
{
1359
1359
    fprintf(f, "siteend|%s\n", site->remote_is_different?"changed":"unchanged");
1360
1360
}
1361
1361
 
1362
 
void site_sock_progress_cb(void *userdata, off_t progress, off_t total)
 
1362
void site_sock_progress_cb(void *userdata, ne_off_t progress, ne_off_t total)
1363
1363
{
1364
1364
    fe_transfer_progress(progress, total);
1365
1365
}