mirror of
https://github.com/curl/curl.git
synced 2026-04-23 23:42:11 +03:00
Fixed scanf format for WORD = unsigned short.
This commit is contained in:
parent
ef3f1f3146
commit
dafa2fc944
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ size_t SyncTime_CURL_WriteHeader(void *ptr, size_t size, size_t nmemb,
|
|||
TmpStr1 & 2? */
|
||||
AutoSyncTime = 0;
|
||||
else {
|
||||
RetVal = sscanf ((char *)(ptr), "Date: %s %d %s %d %d:%d:%d",
|
||||
RetVal = sscanf ((char *)(ptr), "Date: %s %hu %s %hu %hu:%hu:%hu",
|
||||
TmpStr1, &SYSTime.wDay, TmpStr2, &SYSTime.wYear,
|
||||
&SYSTime.wHour, &SYSTime.wMinute, &SYSTime.wSecond);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue