Changeset 77e3dfff905f1997f84bd3e3230fff4d9c5e1143

Show
Ignore:
Timestamp:
02/20/08 16:23:48 (7 months ago)
Author:
Rémi Duraffort <ivoire@videolan.org>
git-committer:
Rémi Duraffort <ivoire@videolan.org> 1203521028 +0000
git-parent:

[32c110b6d880933ca60c1212693d10a12eb94c1f]

git-author:
Rémi Duraffort <ivoire@videolan.org> 1203521028 +0000
Message:

Wrap and typo

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/misc/update.c

    r32c110b r77e3dff  
    884884/** 
    885885 * Get the update file and parse it 
    886  * *p_update has to be locked when calling this function 
     886 * p_update has to be locked when calling this function 
    887887 * 
    888888 * \param p_update pointer to update struct 
     
    11991199 
    12001200 
    1201 /* 
     1201/** 
    12021202 * Struct to launch the download in a thread 
    12031203 */ 
     
    12231223 
    12241224    update_download_thread_t *p_udt = vlc_object_create( p_update->p_libvlc, 
    1225                                                       sizeof( update_download_thread_t ) ); 
     1225                                        sizeof( update_download_thread_t ) ); 
    12261226    if( !p_udt ) 
    12271227    { 
     
    12921292 
    12931293    psz_size = size_str( l_size ); 
    1294     if( asprintf( &psz_status, "%s\nDownloading... O.O/%s %.1f%% done",  p_update->release.psz_url, psz_size, 0.0 ) != -1 ) 
     1294    if( asprintf( &psz_status, "%s\nDownloading... O.O/%s %.1f%% done", 
     1295        p_update->release.psz_url, psz_size, 0.0 ) != -1 ) 
    12951296    { 
    12961297        i_progress = intf_UserProgress( p_udt, "Downloading ...", psz_status, 0.0, 0 ); 
     
    13111312        f_progress = 100.0*(float)l_downloaded/(float)l_size; 
    13121313 
    1313         if( asprintf( &psz_status, "%s\nDonwloading... %s/%s %.1f%% done", p_update->release.psz_url, 
    1314                       psz_downloaded, psz_size, f_progress ) != -1 ) 
     1314        if( asprintf( &psz_status, "%s\nDonwloading... %s/%s %.1f%% done", 
     1315                      p_update->release.psz_url, psz_downloaded, psz_size, 
     1316                      f_progress ) != -1 ) 
    13151317        { 
    13161318            intf_ProgressUpdate( p_udt, i_progress, psz_status, f_progress, 0 ); 
     
    13261328    if( !intf_ProgressIsCancelled( p_udt, i_progress ) ) 
    13271329    { 
    1328         if( asprintf( &psz_status, "%s\nDone %s (100.0%%)", p_update->release.psz_url, psz_size ) != -1 ) 
     1330        if( asprintf( &psz_status, "%s\nDone %s (100.0%%)", 
     1331            p_update->release.psz_url, psz_size ) != -1 ) 
    13291332        { 
    13301333            intf_ProgressUpdate( p_udt, i_progress, psz_status, 100.0, 0 );